Turned buttons from divs to links. Makes it possible for screen readers and hotkeys to recognize the buttons.

This commit is contained in:
Jani Mustonen
2017-01-13 19:36:40 +02:00
parent 07b3c58c61
commit ad072cc179
6 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -663,9 +663,9 @@ module.exports = React.createClass({
<div className="mx_UserSettings_section">
<div className="mx_UserSettings_logout mx_UserSettings_button" onClick={this.onLogoutClicked}>
<a tabindex="0" className="mx_UserSettings_logout mx_UserSettings_button" onClick={this.onLogoutClicked}>
Sign out
</div>
</a>
{accountJsx}
</div>