Turned buttons from divs to links. Makes it possible for screen readers and hotkeys to recognize the buttons.
This commit is contained in:
parent
07b3c58c61
commit
ad072cc179
6 changed files with 19 additions and 19 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue