Skip to content

Commit 2ae8936

Browse files
Merge pull request #1081 from millmason/mobile-nav-toggle-a11y
Add tabIndex to mobile nav toggle
2 parents f40d5af + 6126d7c commit 2ae8936

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/MobileNav.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const MobileNav: FC = () => {
4545
as="nav"
4646
aria-label={isMenuOpen ? 'Close menu' : 'Open menu'}
4747
className="min-[850px]:hidden flex-end w-fit"
48+
tabIndex={0}
4849
icon={
4950
<>
5051
<PiList className="h-6 w-6 linkIcon" /> Menu

0 commit comments

Comments
 (0)