Dummy Run
Free scan

Dummy Run stands on other people’s open-source work. Here are the tools the accessibility checks bundle or run, and the data taken from them, with what each does for you and its licence. The full licence texts are in LICENSES and next to each bundled copy, and NOTICE has the copyright lines.

Rule engines

These run inside the page you test, so their results describe the page as your visitors’ browsers build it.

ToolVersionWhat it does in Dummy RunLicence
axe-core by Deque Systems4.13.0The main accessibility rules, in the sweep and the a11y toolMPL-2.0
IBM Equal Access accessibility-checker-engine4.0.34A second set of WCAG rules, with --enginesApache-2.0
HTML_CodeSniffer by Squiz2.5.1WCAG 2 AA rules on the markup, with --enginesBSD-3-Clause
Siteimprove Alfa0.120.0Rules written against the W3C ACT test cases, with --enginesMIT
QualWeb by the University of Lisbon (FCUL)act-rules 0.8.6, wcag-techniques 0.4.9, qw-page 0.3.8, util 0.7.4ACT rules and WCAG techniques, with --enginesISC

Alfa is bundled into one script with esbuild (MIT), which is used only to build it. The bundle includes Color.js (MIT), which Alfa uses for its colour calculations. internal/page/engines/alfa/build.sh rebuilds it from the pinned versions.

ToolVersionWhat it does in Dummy RunLicence
DuckDuckGo autoconsent16.61.0Answers cookie banners by rejecting, with --consent, and sorts their buttons so a banner with no reject button can be reportedMPL-2.0

The compact rule set is used as published. The bundle has one change. A pattern that spots “close” buttons listed “des cookies” and “de cookies” twice: once on their own and once as an article followed by “cookie”. The overlap let a page make the browser backtrack for a very long time on a crafted button label, so the two extra entries are removed. When the change was made, the old and new patterns were run side by side on 12 real phrases, such as “fermer des cookies”, and 20,000 random ones. They gave the same answer every time, except on strings like “des de cookies”, an article followed by “de cookies”, which only the old one accepts. The change is marked in the file, and a test checks the bundle still carries it.

Screen reader view

ToolVersionWhat it does in Dummy RunLicence
guidepup virtual screen reader by Craig Morten0.33.0Reads the page aloud as text for a persona that gets no screenshotsMIT

It’s bundled into one script with esbuild. Its browser build already includes other packages, and NOTICE has their copyright lines. aria-query is under Apache-2.0. The rest are under MIT: @testing-library/dom, @testing-library/user-event, dom-accessibility-api, html-aria, lz-string, pretty-format, react-is, ansi-regex, ansi-styles and dequal.

internal/page/screenreader/build/build.sh rebuilds it from the pinned versions.

Response times

ToolVersionWhat it does in Dummy RunLicence
web-vitals by Google6.2.3Measures how long a page takes to respond to each click and key press the keyboard checks make, as Interaction to Next Paint (INP), with where the time went. fetch.sh checks the package’s SHA-256 before it copies the fileApache-2.0

It’s bundled unchanged as internal/page/webvitals/web-vitals.attribution.iife.js, and fetch.sh next to it fetches it again.

Browser accessibility tree

ToolVersionWhat it does in Dummy RunLicence
Chrome DevTools Protocol, reached through chromedriver’s goog:cdp commandsthe Chrome you runIn Chrome, Accessibility.getFullAXTree gives the role, name and states of each control in Chrome’s tree. It also says whether a screen reader can reach the control. A control missing from the tree, and every control in Firefox, gets the engine’s own name script. Firefox refuses goog:cdp commandsPart of Chrome; no code of it is bundled

Lighthouse

ToolVersionWhat it does in Dummy RunLicence
Lighthouse by Google13.5.0, which you installIts accessibility and best-practice audits, with --lighthouse. It runs as its own program and isn’t bundledApache-2.0
ToolVersionWhat it does in Dummy RunLicence
lychee by Matthias Endler and the lychee contributors0.24.2 in the container imageChecks the links on each page with --links. With preview access on, the browser checks the links on the sites you sweep, and lychee only those to other sites. It runs as its own program, found on PATH or through DUMMYRUN_LYCHEEMIT or Apache-2.0

Plain language

ToolVersionWhat it does in Dummy RunLicence
Vale by Joseph Kato3.24.0 in the container imageChecks the main content of each page with --plain-language. It runs as its own programMIT
Vale Readability styleas publishedThe Flesch reading ease and Flesch-Kincaid grade rules, used unchangedMIT

HTML checking

ToolVersionWhat it does in Dummy RunLicence
Nu HTML Checker (vnu)26.10.12 in the container imageChecks each page’s HTML with --html. It runs as its own programMIT
OpenJDK from Debian21, cut down with jlink, in the container imageThe Java runtime vnu runs onGPL-2.0 with the Classpath Exception

The long sentence, words to avoid and Latin abbreviation rules are our own, written from the public GOV.UK A to Z style guide.

Picture comparison

ToolVersionWhat it does in Dummy RunLicence
pixelmatch by Mapbox7.1.0, ported to Go in internal/visual/pixelmatch.goCounts the pixels that changed between two pictures of a page with --visual, leaving out anti-aliasing, and draws a picture of the changesISC

PDF checking

ToolVersionWhat it does in Dummy RunLicence
veraPDF1.30.3, which you installChecks linked PDFs against PDF/UA-1 with --pdf. It runs as its own program and isn’t bundledGPL-3.0-or-later or MPL-2.0, your choice

Technology detection

ToolVersionWhat it does in Dummy RunLicence
webappanalyzer by Enthecyour copy, with DUMMYRUN_WEBAPPANALYZERIts technology fingerprints, read from your copy at run time to fill target.tech. Dummy Run doesn’t bundle or copy them, and its own fingerprints are written separatelyGPL-3.0

Methods we learned from

Some checks follow a method another project worked out, written again in our own code.

ProjectWhat we tookLicence of the project
contrastcap by ICJIAMeasuring text contrast over an image by hiding the text, taking a picture of what is behind it and comparing every pixel, for --image-contrastMIT
CTRF, the Common Test Report FormatThe JSON layout of --format ctrf and dummyrun a11y --ctrf, spec version 0.2.0. No CTRF code is usedMIT
Playwright by MicrosoftThe YAML layout of its ARIA snapshots, one list item for each role and name with its states in square brackets, for --aria-snapshots. The outline is our own and no Playwright code is usedApache-2.0
Leonardo by AdobeSuggesting a colour that meets a contrast ratio by changing its lightness, so the hue stays, for the colour suggestions on contrast failures. When the new lightness at that chroma is a colour the screen can’t show, the chroma comes down too. The colour maths is OKLab, written again from the formulas in CSS Color Module Level 4Apache-2.0
Sa11y from Toronto Metropolitan University and Editoria11y, which is developed with itThe idea of checking what authors write, such as vague link names, file names as alt text and bold text standing in for a heading, for --content. The checks, thresholds and wording are our own, written from the public descriptions of the problems. No code from either is usedGPL-2.0
goimagehashThe difference hash, which shrinks a picture to 9 by 8 grey cells and sets a bit where a cell is brighter than the next, for the hash_distance of --visual. The code is our ownBSD-2-Clause
LayoutLens by goji+Measuring layout from the browser’s rectangles and what is painted on top at a point: outermost elements past the window, clipped text, controls under other controls, focus hidden behind opaque content, and the measurable target size exceptions. Used by --layoutMIT

Data

The list of WCAG 2.2 success criteria at levels A and AA, with their titles and links, was generated from the criteria data in Siteimprove Alfa (MIT). The EN 301 549 clause numbers follow clause 9 of ETSI EN 301 549 V3.2.1, which numbers each WCAG 2.1 criterion the same way. No text of the standard is copied.

The screen reader support figures for dummyrun-aria-support are the ARIA-AT reports of the W3C ARIA and Assistive Technologies Community Group, fetched from its public API and kept unchanged. They are under the W3C Document License, and internal/a11y/ariaat/LICENSE has the notice. No ARIA-AT code is used.

The test fixtures for checking the sweep against real markup come from the AccessGuru dataset (MIT). The fixtures use the rule names and the markup of the elements it lists, and none of its code.

Mutation testing

Mutation testing runs in the project’s own weekly workflow, and CONTRIBUTING.md shows how you run it on your machine. gremlins isn’t part of the program you install.

ToolVersionWhat it does for Dummy RunLicence
gremlins0.6.0Changes the engine’s code one small step at a time and runs the unit tests against each change, to show where the tests would miss a bugApache-2.0

Testing

These run only in the project’s own tests. None of them is part of the program you install.

ToolVersionWhat it does for Dummy RunLicence
rapid1.2.0Makes random inputs, such as robots.txt rules and allow-list entries, checks that a rule holds for each one and shrinks a failure to its smallest case. The unit tests run 100 cases of each, and -rapid.checks runs moreMPL-2.0