Skip to content
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

First item of submenu can get focus after closing menu via ESC #72

Open
mrwweb opened this issue Oct 12, 2022 · 0 comments
Open

First item of submenu can get focus after closing menu via ESC #72

mrwweb opened this issue Oct 12, 2022 · 0 comments

Comments

@mrwweb
Copy link

mrwweb commented Oct 12, 2022

This bug happens intermittently and I haven't been able to figure out situations in which it doesn't happen. However it does happen with relative frequency. I've seen it both on a site I have access to and a different one referenced in #56.

To reproduce:

  1. TAB into a submenu so focus enters the submenu (either one or more positions)
  2. Press ESC. Focus returns to parent menu item
  3. Press TAB once. Focus is now on the first (invisible) item of the submenu.
  4. Press TAB again to go to next parent item in menu (the item one would expect to receive focus in Step 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant