Merge pull request #480 from ehinson/fix_aria_label
Fix aria-label and title for custom categoriesdependabot/npm_and_yarn/elliptic-6.5.4
commit
3f00e123c6
|
@ -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