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 v2] Add a lang attribute on links to pages written in foreign language #2730

Open
renow-luxembourg opened this issue Apr 16, 2024 · 0 comments

Comments

@renow-luxembourg
Copy link
Contributor

Feature Request

Current Behavior :
In the navigation component, the destination page of some links can be in different language (with a custom language defined in advanced properties)
Links to pages written in a foreign language are not well rendered to assistive tool (like the NVDA screen reader)

Expected behavior/code :
Each link in the navigation component should be vocalized in its appropriate language.

Environment

Possible Solution :
Add a lang attribute on navigation link to a destination page with a content in another language.

Additional context :
WCAG 2.1 : 3.1.2 Language of Parts (https://www.w3.org/WAI/WCAG21/Understanding/language-of-parts)
WCAG 2.1 : Technique H58 (https://www.w3.org/WAI/WCAG21/Techniques/html/H58)
RGAA 4.1.2 / RAWeb 1 : 8.7.1 https://accessibilite.public.lu/fr/raweb1/criteres.html#test-8-7-1 (in french)

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