Does WCAG audit patterns help? Tested on accessibility tasks

WCAG audit patterns, from wshobson/agents. Its accessibility audit tasks were run with the skill loaded and without it. Each time it is the same task, run twice.

What we tested

Whether loading this skill helps a model find accessibility problems on a page.

What counts as helping

The skill has to find at least 10 percentage points more of the planted problems than the model finds without it, on the same 10 test pages.

How we scored it

We planted 48 known problems across the 10 test pages and counted how many the model named. The score is the share it found, from 0 to 1.

Without to with, per model

Via API tested via API

Gemini 3.1 Flash Lite

0.673
0.690

No measured effect

GPT-5 mini

0.488
0.575

No measured effect

deterministic pass rate, 0 to 1

In Claude Code tested in Claude Code

Claude Fable 5.1 Wider run, three ways

0.895
0.875

No measured effect

Claude Opus 5 Wider run, three ways

0.857
0.790

No measured effect

Claude Sonnet 5 Wider run, three ways

0.818
0.779

No measured effect

Claude Haiku 4.5 Wider run, three ways

0.477
0.608

No measured effect

deterministic pass rate, 0 to 1

A picture of the per-model numbers, drawn from the same results. The tables are the source. Grey is the score without. Colour is the score with. The bracket shows how much the difference could move if we ran it again. Rows are ordered by the score with. A model measured at two versions keeps its versions next to each other. The two test methods are reported separately and never averaged.
Show per-task detail

Every item, without and with, per model

Via API tested via API

  • GPT-5 mini
  • Gemini 3.1 Flash Lite

deterministic pass rate, 0 to 1

Hover or focus an item to read its task and every model’s two values.

Task-paired: these item means are what this cell's interval is built from.

The item means behind this plot
Per-item arm means. Without is the unaided arm, with is the treated arm.
ItemGPT-5 mini Gemini 3.1 Flash Lite
Task without with without with
a10 0.250 0.500 0.250 0.250
a04 0.000 1.000 0.600 1.000
a05 0.000 0.400 0.800 0.600
a06 0.400 0.400 0.400 0.600
a03 0.400 0.200 0.600 0.200
a09 0.667 0.667 0.667 0.667
a01 0.750 0.750 0.750 1.000
a02 0.667 0.667 1.000 0.833
a08 1.000 0.667 0.667 1.000
a07 0.750 0.500 1.000 0.750
A picture of the per-item means behind the per-model numbers. The tables are the source. Each model draws two lines over the same task set: a dashed line through its unaided scores and a solid line through its treated ones. Items are ordered by the mean unaided score across the models that measured them, lowest first. The two instruments are reported separately and never averaged.

Without to with, per model

In Claude Code tested in Claude Code

Claude Haiku 4.5 Expansion cohort (three arms)

No measured effect

Claude Sonnet 5 Expansion cohort (three arms)

No measured effect

Claude Opus 5 Expansion cohort (three arms)

No measured effect

Claude Fable 5.1 Expansion cohort (three arms)

No measured effect

deterministic pass rate, 0 to 1

A picture of the per-model numbers, drawn from the same results. The tables are the source. Each row runs from the score without to the score with. The thin bar beneath it is the bracket, and it shows how much the difference could move if we ran it again. The two test methods are reported separately and never averaged.

The Claude Code runs committed their cells as arm means and intervals rather than as per-item values, so this panel is drawn without to with rather than item by item.

What exactly was tested, and how it was scored
Repository
wshobson/agents
Path
plugins/accessibility-compliance/skills/wcag-audit-patterns
Commit
38e19c20d2b154510b0e624a2e3e186b19b5c527
Content hash
7c2619d811fe6147c69dea5e80f07992e24012b89638455a6cf708e712e62b9f
Date tested
not yet tested

The pin is the whole of this skill's identity here. It resolves at https://github.com/wshobson/agents/tree/38e19c20d2b154510b0e624a2e3e186b19b5c527/plugins/accessibility-compliance/skills/wcag-audit-patterns, and the content hash is a sha256 over exactly the text the model was given with the skill loaded. Nothing else about the skill appears on this site.

S14-wshobson-wcag-audit-patterns

Loading plugins/accessibility-compliance/skills/wcag-audit-patterns from wshobson/agents improves outputs on accessibility audit tasks.

Pass criterion
With-arm mean coverage exceeds the without-arm by at least 0.10 on the same 10 fixture pages at the same model and settings.
Scale
unit. Same scorer, same instrument and same scale as S04-ecc-accessibility. Added 2026-08-31 by the source expansion under R23; adding a row to an instrument does not touch the instrument.
Task pairs planned per model
10
Notes
Shares the accessibility-audit task set with every other claim in this class, so all of its rows are measured on identical items against one answer key. The slot this claim scores was pinned by the 2026-08-31 source expansion under R23 and NO MODEL HAS BEEN RUN AGAINST IT. The claim exists so the class holds one claim per pinned slot, which is what makes the row comparable the day it is run.

Injected context tokens

Injected context tokens, per arm
ArmContext charactersInjected context tokens
without00
with12,4632,926

The character count is exact: it is the length of the text the with arm is given, and the content hash above is a sha256 over that same text. The token figure is an estimate at 4.26 characters per token, the ratio the phase 1 run measured over 3,120 calls, and it is labelled an estimate until a run reports its own token counts. The without arm is given the identical prompt and nothing else, so its zero is a measurement rather than a missing value.

Verdict per model

Effect per model
ModelReadingOrbitWithout -> withEffect95 percent intervalTask pairsModel version returned
Gemini 3.1 Flash LiteDeterministic, scored against a committed answer keyIn free drift unclear. The model scored 63% without it.0.6733 -> 0.6900+0.0167[-0.1513, 0.1847]10 pairs, 30 of 30 recordsgemini-3.1-flash-lite
GPT-5 miniDeterministic, scored against a committed answer keyIn free drift unclear. The model scored 64% without it.0.4883 -> 0.5750+0.0867[-0.1544, 0.3277]10 pairs, 30 of 30 recordsgpt-5-mini-2025-08-07
  • In free drift: no separation the design can resolve. Not evidence of no effect.

Cost

Defined in the metrics canon. Cost per task divides every dollar spent on an arm by the tasks attempted on it, including tasks whose call returned nothing, because a call that returned nothing was still billed.

Where the with arm did not win

Gemini 3.1 Flash Lite, Deterministic, scored against a committed answer key

Lost on 4 of 10 pairs: a03 (-0.4000), a07 (-0.2500), a05 (-0.2000), a02 (-0.1667).

Drew on 2 of 10 pairs: a09, a10.

Findings not in the answer key: 15 with the skill, 18 without. These are counted and never netted off coverage.

GPT-5 mini, Deterministic, scored against a committed answer key

Lost on 3 of 10 pairs: a08 (-0.3333), a07 (-0.2500), a03 (-0.2000).

Drew on 4 of 10 pairs: a01, a02, a06, a09.

Findings not in the answer key: 43 with the skill, 61 without. These are counted and never netted off coverage.

In Claude Code

These cells are tested in Claude Code, on a subscription path with no API key. They are a second instrument: no figure here is averaged with one tested via API above. How the two were compared.

  • Claude Fable 5.1 · unclear in the three-arm cohort
  • Claude Haiku 4.5 · unclear in the three-arm cohort
  • Claude Opus 5 · unclear in the three-arm cohort
  • Claude Sonnet 5 · unclear in the three-arm cohort

Expansion cohort (three arms)

one pass over each committed item. Matrix hash 0078cfa8. Pre-registration · Run report.

One row per model. Every figure is read from this run’s committed cells.
ModelNo skillWith skillDeltaIntervalPairsOrbitInjected tokensFalse positives per page
Claude Fable 5.10.89500.8750-0.020-0.059 to 0.01910In free driftnot measured: this run records the dose per arm, in the doses list10 with, 12 without
Claude Haiku 4.50.47670.6075+0.1310.021 to 0.24010In free driftnot measured: this run records the dose per arm, in the doses list20 with, 18 without
Claude Opus 50.85670.7900-0.067-0.214 to 0.08010In free driftnot measured: this run records the dose per arm, in the doses list18 with, 19 without
Claude Sonnet 50.81750.7792-0.038-0.163 to 0.08710In free driftnot measured: this run records the dose per arm, in the doses list37 with, 37 without

Every figure above is computed at build time from harness/results/runs-skills.jsonl and harness/results/ledger-skills.jsonl, both committed, by the frozen status_v1 rule and the metrics_v1 cost definitions. How a claim gets tested.

720 run records behind this page. Every verdict is computed at build time by the same frozen status_v1 rule that decides every other verdict on this site, and nothing here is written by hand.