-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
focus gets stuck in TabNav focuszone within ActionMenu.Overlay #2340
Comments
We are hitting this in our updated react version of the code/blob view and navigation, which we will be opening up to customers for Universe. |
Thanks for filing, and for adding the Universe context @davekenn. Is it possible this is a duplicate of #2319? If so, there may be a fix in the works there. Regardless, we'll plan to triage this at our team sync on Monday Sept 26 and get someone assigned to address this if there hasn't already been movement on a solution in #2319. |
This doesn't look like a duplicate of #2319 - that's related to focuseable elements inside tabs, while this is related to tabs inside overlays (if I understand correctly). |
👋🏻 @siddharthkp at today's PRC sync, we swapped this in the place of another less urgent support issue. Do you think you could pick this up as part of your FR rotation this week since it's needed for Universe? |
Any updates? |
Thanks for pinging us again @davekenn. @joshblack are you willing to dive into this one by Monday since it's related to a Universe ship? Feel free to bring in our Accessibility Design & Engineering friends if you need any second opinions on the focus behavior. |
@lesliecdubs definitely! I'll take a look 👀 |
Something that is a little confusing for Is there an alternative that is recommended for this situation where it seems like the intent is more of a disclosure pattern? Footnotes |
Just a quick update on this, have an interim fix over at: #2468 However, it seems like the ideal here is to avoid using I think this kind of pattern will ultimately be captured over in: https://github.com/github/accessibility/issues/1897 but am not 100% sure. Hope this helps! |
Description
If I have a TabNav within an ActionMenu.Overlay and focusable items above and below it, focus can get stuck in the TabNav and I will be unable to navigate to the top item. It seems like there is a top level focuszone for the overlay and another focuszone within the TabNav. When focus moves into the tabnav, the top level focuszone expects it to move to the rightmost tab, but the tabNav moves focus to the selected tab. This seems to cause the top level focuszone to lose track of which element is focused and it stops processing key presses to move the focus up out of the TabNav.
Steps to reproduce
Version
v35.9.0
Browser
Chrome
The text was updated successfully, but these errors were encountered: