Merge pull request #1628 from pafcu/label-actionbuttons
Add aria-labels to ActionButtons
This commit is contained in:
commit
d4feca5dfb
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ export default React.createClass({
|
||||||
onClick={this._onClick}
|
onClick={this._onClick}
|
||||||
onMouseEnter={this._onMouseEnter}
|
onMouseEnter={this._onMouseEnter}
|
||||||
onMouseLeave={this._onMouseLeave}
|
onMouseLeave={this._onMouseLeave}
|
||||||
|
aria-label={this.props.label}
|
||||||
>
|
>
|
||||||
<TintableSvg src={this.props.iconPath} width={this.props.size} height={this.props.size} />
|
<TintableSvg src={this.props.iconPath} width={this.props.size} height={this.props.size} />
|
||||||
{ tooltip }
|
{ tooltip }
|
||||||
|
|
Loading…
Reference in a new issue