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

Navigation component does not work without javascript #44

Open
minusf opened this issue Nov 28, 2024 · 0 comments
Open

Navigation component does not work without javascript #44

minusf opened this issue Nov 28, 2024 · 0 comments

Comments

@minusf
Copy link

minusf commented Nov 28, 2024

I have a couple of questions about the navigation component.

  1. Unfortunately it seems that while the navigation component (https://github.com/a11y-collective/demos/blob/master/en/advanced-accessible-components/components/navigation/navigation.html) might be completely a11y friendly, there doesn't seem to be any graceful degradation in place when javascript is not available, making all sub-menus inaccessible for everyone.

  2. I see many proponents of a11y menus advocate for using only click to open sub-menus (essentially all top level menu items being buttons) to stop the confusion if a menu item opens a sub-menu vs acting as a menu item itself. There are some techniques to enable click to open menus without javascript, so even though the aria attributes are not set correctly, at least the menus work.

  3. Hover not being available on mobile devices, having a hover mode makes the desktop and mobile versions inconsistent.

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