-
Notifications
You must be signed in to change notification settings - Fork 557
Description
Bug Report
Problematic behavior
There is indeed a skip link but semantically it's a button.
Expected behavior/code
The skip link view content must be structured in an element and not a
Steps to Reproduce
- Log in to docs
- Tab with the keyboard
- And then the bug happens!
Additional context/Screenshots
Critères RGAA
Critère 7.1 : [Chaque script est-il, si nécessaire, compatible avec les technologies d'assistance ?](https://accessibilite.numerique.gouv.fr/methode/criteres-et-tests/#7.1)
Impact
A link is used for navigation (navigating between different pages / websites / anchors on the same page or a file to download)
A button is used to trigger an action or event (submit a form / open a modal, show/hide content)
It won't be announced in the same way, and navigation doesn't work the same way either. A link is activated with the enter key, a button with the enter and space keys
And finally, screen readers read pages in a linear fashion but also by list. If some users navigate by "list" of links or buttons on the page. If the wrong element is used, they won't find what they're looking for in that list.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status