Commit 690f574
authored
Make submenus visible during keyboard navigation
I've noticed that the site didn't make submenus visible during keyboard navigation, making everything less intuitive.
This change shows the submenu when it has focus on it's `button` element or focus within itself.
I'm not sure if the intention behind this would be a "toggle" `button` (with it's corresponding ARIA states) instead of this, as the button currently gains focus but doesn't trigger anything on click.1 parent 9c37cee commit 690f574
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
0 commit comments