Skip to content

Accessibility: The state of the menu link is not conveyed to screen readers #1179

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

Open
Yalin2023 opened this issue Jun 7, 2024 · 2 comments

Comments

@Yalin2023
Copy link

Issue Description:
When screen reader users select one of the link on the left menu, the selected state of the link is not conveyed to screen readers.
CDTS Section menu sample: https://cdts.service.canada.ca/app/cls/WET/gcweb/v5_0_1/cdts/samples/sectionmenu-en.html#

image
image

@ahmad-shahid
Copy link
Contributor

Hello, what is the expected behaviour when you say "selected state of the link is not conveyed"?

Is there a recommended solution?

@shawnthompson
Copy link
Member

It should be telling screen reader users that the link is the current page. Shown visually by the colour of the active page.

See aria-current - Accessibility | MDN for more information about how to make this happen.

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

3 participants