Skip to content

Commit ec0b587

Browse files
authored
Merge pull request #522 from royeden/patch-1
Make submenus visible during keyboard navigation
2 parents ab1b58a + 690f574 commit ec0b587

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/Navbar.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@
141141
}
142142
}
143143

144-
.item:hover .submenu {
144+
.item:hover .submenu,
145+
.item:focus-visible .submenu,
146+
.submenu:focus-within {
145147
opacity: 1;
146148
max-height: 400px;
147149
}

0 commit comments

Comments
 (0)