Engineer setup
To help implement what is described in the other section of the doc here is a list of tools and setup that can be used to help you in your work.
Those apply only in a web context
Axe DevTools - Web Accessibility Testing
Install: https://chromewebstore.google.com/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd
On any page, open chrome dev tools and go to the “axe DevTools” tab
Click full page scan
Explore the issues. Feel free to highlight them:
Axe core is the main tool used in many others tool to integrate accessibility tests, in particular:
- lighthouse
- storybook a11y plugin
- playwright - used in our e2e tests
➡️ Those issues can be found at several steps of your workflow
HeadingMap
Install: https://chromewebstore.google.com/detail/headingsmap/flbjommegcjonpdmenkdiocclhjacmbi
This extension enables you to see the heading structure of the current page. Exemple with the member dashboard:
➡️ Best practice reminder available in the dedicated section of Murray’s doc
Stylus
Install: https://chromewebstore.google.com/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
From the settings, import the following configuration file.
You will end up with the following setup:
Those are set up to check criterias against the RGAA
https://accessibilite.numerique.gouv.fr/methode/criteres-et-tests/
This tool will highlight element related to a criteria. If nothing is highlighted, there is probably something missing
Most of the time, this tool will break the current product CSS.
- ➡️ The point is to focus on the markup semantics
- ➡️ It highlights compliant criteria
- ➡️ It does not highlight violations
Example with 9.3 lists:
The rule: all lists must be wrapped in ul/li tags
➡️ The detected lists are highlighted and are compliant with the RGAA.
➡️ For color contrast criteria, refer to the color contrast section of Murray's doc
Example with 9.2 Structure:
Rule: a page must have a main section.
If navigation links or menu is provided, they should be wrapped in a nav tag
