atomic-data-browser icon indicating copy to clipboard operation
atomic-data-browser copied to clipboard

Dropdown menu tab button behavior not synced to UI and up / down behavior

Open joepio opened this issue 2 years ago • 1 comments

Current behavior

  • Open a dropdown (e.g. drive switcher)
  • Move with tab (nothing happens, no visual indicator, however you can exit the dropdown)
  • Move with cursor (see visual indicator move)

Expected behavior

  • Tab or down button bevaves the same way
  • Focus is synced with arrow selection
  • Style set by :focus, just to be sure

joepio avatar Mar 09 '23 09:03 joepio

This is intended behaviour

Web application menus are expected to work like desktop application menus. For example, the left and right keys are used to iterate through the top-level items, and the up and down arrows are used to navigate submenus. Pressing the tab key focuses the next item after the menu instead of the next menu item. w3c.org

Polleps avatar Dec 12 '23 16:12 Polleps