Skip to content

Commit

Permalink
Merge pull request #1081 from millmason/mobile-nav-toggle-a11y
Browse files Browse the repository at this point in the history
Add tabIndex to mobile nav toggle
  • Loading branch information
CodeWritingCow authored Jan 18, 2025
2 parents f40d5af + 6126d7c commit 2ae8936
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const MobileNav: FC = () => {
as="nav"
aria-label={isMenuOpen ? 'Close menu' : 'Open menu'}
className="min-[850px]:hidden flex-end w-fit"
tabIndex={0}
icon={
<>
<PiList className="h-6 w-6 linkIcon" /> Menu
Expand Down

0 comments on commit 2ae8936

Please sign in to comment.