Skip to content

Commit

Permalink
feat(a11y): add aria-label to mobile menu trigger button
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Jul 19, 2023
1 parent e80f479 commit 0e8ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(main)/components/header/mobile-menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function MobileMenu() {
return (
<Dialog.Root open={isDialogOpen} onOpenChange={setIsDialogOpen}>
<Dialog.Trigger asChild className="md:hidden">
<button>
<button aria-label="Open menu">
<List />
</button>
</Dialog.Trigger>
Expand Down

0 comments on commit 0e8ff23

Please sign in to comment.