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-06 01:37:27 +02:00
parent 07b3c58c61
commit ad072cc179
6 changed files with 19 additions and 19 deletions

View file

@ -136,9 +136,9 @@ module.exports = React.createClass({
<input id="password2" type="password" ref="confirm_input" />
</div>
</div>
<div className={buttonClassName} onClick={this.onClickChange}>
<a tabindex="0" className={buttonClassName} onClick={this.onClickChange}>
Change Password
</div>
</a>
</div>
);
case this.Phases.Uploading: