Skip to content

Commit

Permalink
fix aria-label for custom button
Browse files Browse the repository at this point in the history
  • Loading branch information
ehinson committed Jan 20, 2021
1 parent ca3d4e5 commit 483dca5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/anchors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 483dca5

Please sign in to comment.