Skip to content

Keyboard navigation on dropdowns #1112

Answered by jackson-dean
jackson-dean asked this question in Help
Discussion options

You must be logged in to vote

Actually I was going through all the w3 stuff and came across this which I think explains the discrepancy quite well! https://www.w3.org/WAI/tutorials/menus/application-menus/#keyboard-behavior

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.

So I think regardless of what all the tech companies are doing, I think the tailwind components are at least strictly adhering to standard behavior. It is interesting though that I used to work…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackson-dean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant