Multiple / Nested Popup tabIndex bug
See original GitHub issueWhat package within Headless UI are you using?
What version of that package are you using?
v1.0.0 (latest?)
What browser are you using?
Chrome latest 64-bit 89.0.etc Windows 10
Reproduction repository
Describe your issue
This may be related to #426 (nested Dialogs – Is it the same for nested Popovers?)
I seem to be seeing a tabIndex bug where nested popovers tab 2 items for focus, including with the new dev
build. But maybe I’m missing something?
Tab
into the menu works:
But Tab
skips the in-between item:
And Esc
closes all the Popovers. Is that the intended effect or a similar bug to the nested dialogs bug?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:11
Top Results From Across the Web
What are the accessibility issues with nested modal dialogs
There is no accessibility with nested modal dialogs per se. The problem is more often caused by the fact that the UI frameworks,...
Read more >Using tabindex - web.dev
If there are multiple elements with a tabindex greater than 0, the tab order starts from the lowest value that is greater than...
Read more >Creating Logical Tab Order with the Tabindex Attribute
The objective of this technique is to provide a logical tab order in cases where the default tab order is not sufficient to...
Read more >Managing Multiple Bootstrap Modals - Arroyo Labs
Unless your goal is to open a modal that is nested inside already open modal, you may see an occurrence as if the...
Read more >Tab components - React-Bootstrap
Dynamic tabbed interfaces should not contain dropdown menus, as this causes both usability and accessibility issues. From a usability perspective, the fact that ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey! Thank you for your bug report! Much appreciated! 🙏
This should be fixed by #1440, and will be available in the next release.
You can already try it using:
npm install @headlessui/react@insiders
.npm install @headlessui/vue@insiders
.I’m nesting popover elements for a mobile navigation with 2 level panels and I also identified this issue as I was doing some tabulation tests… This is quite strange and annoying. 🙁
I’m going to experiment a bit, even if I think I’m going to be limited pretty fast by my poor technical knowledge. 💩