Skip to content

Commit

Permalink
Merge pull request #480 from ehinson/fix_aria_label
Browse files Browse the repository at this point in the history
Fix aria-label and title for custom categories
  • Loading branch information
EtienneLem committed Feb 24, 2021
2 parents cc257c7 + 483dca5 commit 3f00e12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/anchors.js
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 3f00e12

Please sign in to comment.