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