Skip to content

Commit

Permalink
a11y: Set aria-label to authentication button in navbar
Browse files Browse the repository at this point in the history
Improves accessibility rating
  • Loading branch information
sashko9807 committed Sep 14, 2023
1 parent ac092c3 commit f1a503e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/client/layout/nav/PublicMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default function PublicMenu() {
onClick={handleMenu}
size="medium"
color="inherit"
aria-label="authentication"
classes={{ endIcon: classes.dropdownArrowIcon }}
endIcon={
open ? <ArrowDropUpIcon color="primary" /> : <ArrowDropDownIcon color="primary" />
Expand Down

0 comments on commit f1a503e

Please sign in to comment.