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

Focus on nav #39

Open
katknow opened this issue Jan 6, 2025 · 1 comment
Open

Focus on nav #39

katknow opened this issue Jan 6, 2025 · 1 comment

Comments

@katknow
Copy link

katknow commented Jan 6, 2025

Currently, this theme is failing the Focus test for Accessibility Insights for Web. Currently, after the nav is opened and tabbed through it does not close after the final tab. Per the WCAG 2.4.3 Focus Order requirement, after tabbing through the menu it should return you to the original trigger component.

kimisgold added a commit that referenced this issue Jan 9, 2025
Replace offcanvas.js with mmenu.js, which is
currently maintained and we use in other themes.
Implementation includes tabbing going back to the
"close" button, which should address #39.
@kimisgold
Copy link
Contributor

Cozy needed an update for its offcanvas menu, so it's been refactored. Now when tabbing, it tabs to a "close" button after the last item, which is appropriate for an offcanvas modal.

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