platform
platform copied to clipboard
"Button-bar" mode in MenuBar
Description
An interaction mode for the MenuBar that makes top-level menu items (menu bar buttons) traversable by tab instead of arrow keys (i.e. disabling roving tabindex)
Use cases
As a user I expect to traverse between buttons in a MenuBar with tab So that I can traverse them the same way as normal buttons
Acceptance criteria
- [x] API for enabling the "tab navigation" mode, e.g.
- [ ] WC / React:
tabNavigationproperty - [ ] Flow:
setTabNavigation(boolean)
- [ ] WC / React:
- [x] Disables roving tabindex, setting a static tabindex="0" on all
vaadin-menu-bar-buttons (except disabled ones) - [x] Replaces role="menubar" with
role="group"onvaadin-menu-bar - [x] Replaces role="menuitem" with
role="button"onvaadin-menu-bar-button
General criteria
- [ ] APIs reviewed
- [ ] Design
- [ ] Performance
- [ ] UX/DX tests in Alpha
- [ ] Documentation:
- [ ] How to test?
- [ ] Limitations:
Security
- [ ] Security implications have been taken into account (elaborate or link to product security requirement specification if there are implications)