Turned the links to buttons to comply with MDN's recommendations

This commit is contained in:
Jani Mustonen 2017-01-06 16:41:35 +02:00
parent ad072cc179
commit 8d79716421
6 changed files with 19 additions and 19 deletions

View file

@ -409,9 +409,9 @@ module.exports = React.createClass({
<div className="mx_Dialog_title">
{this.props.title}
</div>
<a tabindex="0" className="mx_ChatInviteDialog_cancel" onClick={this.onCancel} >
<button className="mx_ChatInviteDialog_cancel" onClick={this.onCancel} >
<TintableSvg src="img/icons-close-button.svg" width="35" height="35" />
</a>
</button>
<div className="mx_ChatInviteDialog_label">
<label htmlFor="textinput">{ this.props.description }</label>
</div>