Turned the links to buttons to comply with MDN's recommendations
This commit is contained in:
parent
ad072cc179
commit
8d79716421
6 changed files with 19 additions and 19 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue