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

burgerMenu requires pressing tab-key twice for keyboard navigation #72

Open
harshvchawla opened this issue Oct 17, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@harshvchawla
Copy link
Contributor

harshvchawla commented Oct 17, 2020

Steps to reproduce:

  1. Open burgermenu
  2. Click tab key to navigate through the menu items

Expected result:
Each menu item is jumped one-by-one on each tabkey press

Actual result:
Each jump requires 2 tab key clicks

Observations/Speculation:
burgerMenu sets tabindex=0 to its list items; and each list item is composed of <li><a>item</a></li> tags - so both <li> & <a> tags have their tabbing enabled
Even if we set <li>'s tabindex=-1 to disable it, burgerMenu package overwrites it everytime the menu is slid open

@harshvchawla harshvchawla added the bug Something isn't working label Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant