↓ Skip to main content

tiered-a11y-audit: a WCAG audit for Claude Code

An accessibility audit skill for Claude Code that sorts every finding by how much the fix changes.

Status
Active
Stack
  • Claude Code
  • Python
  • axe-core
  • Playwright
Repository
github.com/Timdebruijn/tiered-a11y-audit

Why I built it #

Whenever accessibility comes up, the first reaction I hear is a question about damage. Is that going to be a big change? Will the site still work afterwards? And underneath that, it often isn’t treated as important in the first place, even though EU rules require it.

Both of those are threshold problems, so that is what I went after. The audit sorts its findings into three tiers by how much each fix changes. Tier 1 is invisible: someone sighted, using a mouse on default settings, sees no difference at all. A team can ship that part today without asking anyone. Tier 2 is small and visible, the kind a designer signs off in one sprint. Tier 3 is everything larger.

Severity is tracked separately from the tiers. A blocker can sit in tier 1, because a missing label costs nothing to fix.

Everyone should be doing this. It matters that much for the people who can’t use what we ship: someone reading the page with a screen reader, someone who navigates by voice or by keyboard alone, someone for whom an animation that won’t stop is a reason to close the tab.

What it does #

You point it at a repository that has a user interface. It reads the code, and the running app if there is one, and writes a report in whichever language you are speaking.

Six expert lenses run in parallel. Between them they own the 55 level A and AA criteria of WCAG 2.2, and they report pass, fail, not tested or not applicable for every single one. That is what makes the coverage matrix a measurement. Eight personas then walk the key flows: a screen-reader user, someone at 400 percent zoom, a voice-control user, and five others. They walk first and read the expert findings only afterwards, so they give a second opinion rather than an echo.

With a runtime available it also runs axe-core in both colour schemes, walks the page with the Tab key, and checks reflow, text spacing, reduced motion and target sizes. There are six modes, from a full audit down to a review of one component. Findings export as SARIF, as a draft conformance table, or as CSV for a ticket system.

Claude Code installs it from the repository, which is its own marketplace:

claude plugin install tiered-a11y-audit --marketplace Timdebruijn/tiered-a11y-audit

An installed plugin only moves when a release changes its version, so whatever is merged between two releases stays in the repository until the next one.

The hardest part #

Drawing the line between the tiers. “Invisible” has to mean invisible, or the promise is worth nothing and tier 1 stops being the part you can ship unreviewed. Working out what is genuinely visually measurable, and what only looks like it is, took longer than anything else in this project.

Status #

The current release is 1.3.1. On the fixture site that ships with it the detection rate is 23 of 24, measured on 16 November 2026. By substance it is 24 of 24: the one miss was reported against a different success criterion than the ground truth expected, and the grader wants the criterion to match. Read that as a sign rather than a rate. It is a single run, and three runs on one day found 22, 23 and 24.

Three stacks have a real run behind them: ESP32 firmware with HTML inside C++ strings, a React single-page application with canvas charts and a strict Content Security Policy, and a themed bilingual Hugo site. The rest have playbooks written for them and no run yet, so try it first on something you can afford to be wrong about.

Two things it does not do. The personas are role-played by an AI, which makes them good at catching what checklists miss but no substitute for testing with disabled people. And it will never recommend an overlay widget.

How to help #

A run on a stack that has no run behind it yet is the most useful thing you can contribute, together with the feedback file the audit writes when you ask it to review itself afterwards. Open an issue on GitHub.

How I build it #

I use Claude Code as a tool to develop and review quickly.


MIT licensed · github.com/Timdebruijn/tiered-a11y-audit