Tab index bug on listboxes in vue #2573
Unanswered
samuelreichor
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys
I just tried Headless UI, and wanted to have an accessibility listbox that I can freely style. The styling works super elegant. Unfortunately, when I use the listbox with the keyboard, the tab focus does not work as it should. If I expand the listbox with the Enter key and press Tab, the whole ul element gets the focus, because in my opinion the Tab index was set incorrectly. (ul currently has tabindex 0 and the li have tabindex -1).
Would be cool if this somehow works out of the box.
Bildschirmaufnahme.2023-07-04.um.08.52.54.mov
Beta Was this translation helpful? Give feedback.
All reactions