You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Turned buttons from divs to links. Makes it possible for screen readers and hotkeys to recognize the buttons.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user