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

[A11Y] aria-current on active menu item #239

Open
laryn opened this issue Sep 29, 2023 · 1 comment
Open

[A11Y] aria-current on active menu item #239

laryn opened this issue Sep 29, 2023 · 1 comment

Comments

@laryn
Copy link

laryn commented Sep 29, 2023

Description of the bug

An accessibility review on a site in development called out the following:

No aria dictating the "active" element in the navigation for a non-visual user using a screen reader

The solution?

aria-current="page" on the active <a>

--
Cross-posted: backdrop/backdrop-issues#6234

@vadikom
Copy link
Owner

vadikom commented Oct 3, 2023

Yep, that should do it. This is fixed in the upcoming v2.0.

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