Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Testing with axe and the keyboard

For teams that keep a public site accessible release after release - a repeatable routine of automated checks with an axe-based tool and manual keyboard and screen reader passes, how the Exponential project itself…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/accessibility/testing-with-axe-and-the-keyboard.md

On this page

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

  1. How the project tests
  2. Automated checks on your site
  3. The manual passes
  4. When to test
  5. Recording results
  6. Related pages

How the project tests

  • Source tests in tests/tests/design/ (the design suite of phpunit.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 design

Automated checks on your site

  1. Keep a list of URLs: one per page template, form and language (see "Auditing your public design with WCAG-EM").
  2. 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.
  3. Run it at a phone width and in each color scheme.
  4. 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

EventTest
Before launchfull WCAG-EM evaluation
Every release that changes templates, stylesheets or scriptsautomated list + keyboard pass on changed templates
Upgrade of Exponential or an extension that renders public pagesautomated list + keyboard pass on the affected pages
Monthlyspot check of new content (see "Monitoring and feedback")
After a barrier reportthe page reported and its template

Recording results

Use one table across all tests so trends show:

DateURL or taskTool or passCriterionFindingSource (template / content / extension)Fixed in

Keep the table with the accessibility statement's evidence.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x