Make explore button at all accessible

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-03 14:43:02 +01:00
parent 9b0c711837
commit 47ee00ec5d

View file

@ -250,8 +250,8 @@ export default class LeftPanel2 extends React.Component<IProps, IState> {
onVerticalArrow={this.onKeyDown} onVerticalArrow={this.onKeyDown}
/> />
<AccessibleButton <AccessibleButton
tabIndex={-1} // TODO fix the accessibility of this: https://github.com/vector-im/riot-web/issues/14180
className='mx_LeftPanel2_exploreButton' className="mx_LeftPanel2_exploreButton"
onClick={this.onExplore} onClick={this.onExplore}
alt={_t("Explore rooms")} alt={_t("Explore rooms")}
/> />