fix(a11y/calendar) make settings button reachable by keyboard
without this, a keyboard but non screen reader user can't reach the button via tabulation
This commit is contained in:
parent
0d0bec3aad
commit
3acb3c2a4c
|
@ -202,7 +202,8 @@ class CalendarList extends AbstractPage<Props> {
|
|||
className = 'meetings-list-empty-button'
|
||||
onClick = { this._onOpenSettings }
|
||||
onKeyPress = { this._onKeyPressOpenSettings }
|
||||
role = 'button'>
|
||||
role = 'button'
|
||||
tabIndex = { 0 }>
|
||||
<Icon
|
||||
className = 'meetings-list-empty-icon'
|
||||
src = { IconCalendar } />
|
||||
|
|
Loading…
Reference in New Issue