Add aria-labels to ActionButtons

Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
pull/21833/head
Stefan Parviainen 2017-11-17 14:33:39 +01:00
parent 02629d13d9
commit 8090aadb0e
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ export default React.createClass({
onClick={this._onClick}
onMouseEnter={this._onMouseEnter}
onMouseLeave={this._onMouseLeave}
aria-label={this.props.label}
>
<TintableSvg src={this.props.iconPath} width={this.props.size} height={this.props.size} />
{ tooltip }