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

Accessibility #164

Open
acodesmith opened this issue Jan 21, 2021 · 1 comment
Open

Accessibility #164

acodesmith opened this issue Jan 21, 2021 · 1 comment

Comments

@acodesmith
Copy link

The use of an <a> tag without an href attribute does not allow for a user to focus on the expandable item in the list.

Suggestion:
Use a different element, preferably a <button> tag. This allows for a user to focus on the element and hit the enter key to open and close the submenu.

Alternative:
Use a hash as the href value. Allows for focus, but the native hash change event will need to be captured and ignored.

@ShankyTiwari
Copy link
Owner

Hi @acodesmith It's really a very good suggestion. Would love to work on it in the near future if I will get time.

Thanks

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

2 participants