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

Keyboard navigation in admin menu subitems #4144

Closed
javierm opened this issue Sep 27, 2020 · 0 comments · Fixed by #5460
Closed

Keyboard navigation in admin menu subitems #4144

javierm opened this issue Sep 27, 2020 · 0 comments · Fixed by #5460

Comments

@javierm
Copy link
Member

javierm commented Sep 27, 2020

References

Notes

Seems this is an issue with Foundation's accordion menu and it's fixed in version 6.7.0. EDIT: I've been toying with Foundation 6.7.5 (installing it as a node package) and Foundation 6.8.1, and I'm still getting the same issue 🤔.

An alternative would be to remove the accordion menu, maybe using the <summary> and <details> tags to get a similar effect (although these tags don't allow animations when closing the submenu), or using a <button> with an aria-expanded attribute.

Steps to reproduce

  1. Sign in as an administrator
  2. Go to the admin section
  3. Press "tab" to navigate through links and press "enter" on a subitem

Current Behavior

The submenu closes.

accordion

Expected Behavior

When pressing enter on a subitem, the link is followed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant