mirror of https://github.com/vector-im/riot-web
Remove extraneous tab stop from room tree view.
This was introduced some time ago when the room list became scrollable. Divs with overflow:scroll; become focusable for the keyboard in Firefox, but since we have keyboard handling for the whole compound widget, we don't need that tab stop on the tree view container div. Putting tabindex="-1" on it fixes it. Signed-off-by: Marco Zehe <marcozehe@mailbox.org>pull/21833/head
parent
c5e62ec0ef
commit
3bff5c55cf
|
@ -778,6 +778,9 @@ export default createReactClass({
|
|||
className="mx_RoomList"
|
||||
role="tree"
|
||||
aria-label={_t("Rooms")}
|
||||
// Firefox sometimes makes this element focusable due to
|
||||
// overflow:scroll;, so force it out of tab order.
|
||||
tabindex="-1"
|
||||
onMouseMove={this.onMouseMove}
|
||||
onMouseLeave={this.onMouseLeave}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue