-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Labels
bugSomething isn't workingSomething isn't workingregressionSometimes we make things breakSometimes we make things breakvaadin-menu-bar
Description
Description
When first rendered, a menu-bar can be focused with the tab key as expected. Once you open and close a sub-menu and move focus away from the menu-bar, you can no longer focus it with the keyboard.
Expected outcome
Component is always focusable with the tab key (unless it’s disabled).
Minimal reproducible example
Use the dev/menu-bar.html page to test:
Steps to reproduce
- Open /dev/menu-bar.html
- Press tab → View is focused
- Press Enter → Sub-menu opens, Ruler is focused
- Press Enter → Sub-menu closes, View is focused again
- Press Tab → Focus moves to the browser chrome
- Press Tab multiple times → Focus should move to the menu-bar, but instead keeps moving between the browser chrome and the web page.
Environment
Tested on Chrome, Firefox, and Safari on macOS.
Browsers
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingregressionSometimes we make things breakSometimes we make things breakvaadin-menu-bar