fix aria-label for custom button
parent
612dae7b08
commit
ca6a7fd74b
|
@ -41,9 +41,9 @@ export default class Anchors extends React.PureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
key={id}
|
key={iconId}
|
||||||
aria-label={i18n.categories[id]}
|
aria-label={i18n.categories[iconId]}
|
||||||
title={i18n.categories[id]}
|
title={i18n.categories[iconId]}
|
||||||
data-index={i}
|
data-index={i}
|
||||||
type={'button'}
|
type={'button'}
|
||||||
onClick={this.handleClick}
|
onClick={this.handleClick}
|
||||||
|
|
Loading…
Reference in New Issue