Browse Source

feat: Added hover styles and added tabIndex to the meeting list container instead of the meeting item header (#15429)

* added hover styles and added tabIndex to the container instead of the meeting heading

* lint error fix
factor2
Wilson Furtado 9 months ago
parent
commit
748ead7e13
No account linked to committer's email address

+ 2
- 1
css/_meetings_list.scss View File

@@ -127,7 +127,8 @@
127 127
             cursor: pointer;
128 128
         }
129 129
 
130
-        &.with-click-handler:hover {
130
+        &.with-click-handler:hover,
131
+        &.with-click-handler:focus {
131 132
             background-color: #c7ddff;
132 133
         }
133 134
 

+ 3
- 3
react/features/base/react/components/web/MeetingsList.tsx View File

@@ -227,14 +227,14 @@ class MeetingsList extends Component<IProps> {
227 227
             <Container
228 228
                 className = { rootClassName }
229 229
                 key = { index }
230
-                onClick = { onPress }>
230
+                onClick = { onPress }
231
+                tabIndex = { 0 }>
231 232
                 <Container className = 'right-column'>
232 233
                     <Text
233 234
                         className = 'title'
234 235
                         onClick = { onPress }
235 236
                         onKeyPress = { onKeyPress }
236
-                        role = 'button'
237
-                        tabIndex = { 0 }>
237
+                        role = 'button'>
238 238
                         { title }
239 239
                     </Text>
240 240
                     {

Loading…
Cancel
Save