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] Add role attribute on navigation #2727

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

renow-luxembourg
Copy link
Contributor

@renow-luxembourg renow-luxembourg commented Apr 16, 2024

Feature Request

Current Behavior :
In european countries using the French Accessibility Guidelines (RGAA) or the Luxembourg guideline (RAWeb1), a role attribute is mandatory on each landmark.
The reason is to keep a compatibility with old browser (that don't support HTML5) or old version of assistive tools.

Expected behavior/code :
Navigation menu should have an ARIA nav with attribute role="navigation"

Environment

Possible Solution :
Add a role attribute on each navigation landmarks.

Additional context :
WAI wiki : https://www.w3.org/WAI/GL/wiki/Using_HTML5_nav_element#Example:The_.3Cnav.3E_element
RGAA 4.1.2 / RAWeb 1 : 12.6.1 https://accessibilite.public.lu/fr/raweb1/criteres.html#test-12-6-1 (in french)

Copy link

sonarcloud bot commented Apr 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@LSantha LSantha added this to the 2.25.0 milestone Apr 25, 2024
@LSantha LSantha merged commit b7429e4 into adobe:main Apr 26, 2024
2 of 3 checks passed
@renow-luxembourg
Copy link
Contributor Author

Adobe CLA filled and signed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants