Testing with axe and the keyboard
This page is for developers, designers and project managers who want accessibility testing to be a routine rather than an event. Automated tools find a part of the problems; a keyboard and screen reader pass finds much of the rest. Exponential ships no accessibility testing tool for public sites; the routine below uses common external tools and the practice the project follows for its own administration.
Contents
- How the project tests
- Automated checks on your site
- The manual passes
- When to test
- Recording results
- Related pages
How the project tests
- Source tests in
tests/tests/design/(thedesignsuite ofphpunit.xml) check templates and stylesheets of the administration: labels, landmarks, keyboard hooks, contrast tokens, error summaries. They do not render pages. - axe runs by hand during reviews, not in CI; findings and fixes are recorded in the 6.0.15 changelog.
- Pages are checked in light and dark mode, at 1440 px and at 960 px with 200% zoom, and with the keyboard alone (Accessibility standards: For template authors).
If you extend the administration, run the project's suite after template changes:
php vendor/bin/phpunit --testsuite designAutomated checks on your site
- Keep a list of URLs: one per page template, form and language (see "Auditing your public design with WCAG-EM").
- Run an axe-based checker on each URL: a browser extension for ad hoc checks, a command-line tool for the list. Record the tool and its version.
- Run it at a phone width and in each color scheme.
- Treat every "violation" as a finding; read every "needs review" item by hand.
Automated tools cannot judge whether alternative text is meaningful, whether the reading order makes sense or whether a link text is clear.
The manual passes
Follow Testing your site's accessibility:
- Keyboard: skip link, order, visible focus, menus, no traps.
- Screen reader: page title, landmarks and headings, images, form labels and errors, language changes.
- Zoom, color and motion: 200% and 320 px, contrast, color not alone, reduced motion.
When to test
| Event | Test |
|---|---|
| Before launch | full WCAG-EM evaluation |
| Every release that changes templates, stylesheets or scripts | automated list + keyboard pass on changed templates |
| Upgrade of Exponential or an extension that renders public pages | automated list + keyboard pass on the affected pages |
| Monthly | spot check of new content (see "Monitoring and feedback") |
| After a barrier report | the page reported and its template |
Recording results
Use one table across all tests so trends show:
| Date | URL or task | Tool or pass | Criterion | Finding | Source (template / content / extension) | Fixed in |
|---|
Keep the table with the accessibility statement's evidence.
Related pages
- Testing your site's accessibility
- Accessibility standards
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.