/acces-accessibility:audit-loop <url> [max-rounds] (default url: detected localhost, default rounds: 5)from Acces Accessibility
This skill should be used when the user asks to "audit and fix accessibility", "fix all a11y issues on this page", "run the accessibility loop", "remediate accessibility until clean", "scan and fix localhost", "make this page accessible", or runs /acces-accessibility:audit-loop. It drives the rgaa-mcp analyze -> source_map -> remediate -> approve -> apply -> verify loop on a URL, pausing for human approval of every patch each round, until no findings remain, the findings stop changing, or a round cap is reached.
Ships in Acces Accessibility. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read usage and its field-mapping before the first call. The field traps there are what makes this loop work or silently fail.
analyze → source_map → remediate → show patches → human approves → apply → verify_fix
└─ or write the fix yourself (no framework detected)
Every round costs zero tokens: nothing in this loop calls an LLM. Iterate as freely as the work needs.
analyzeOne page. Do not set config.igt_tools unless you want guided tests — it
silently moves findings from findings to data.axe.
Keep the raw finding objects. You will need them byte-exact for
verify_fix, and for comparing rounds.
source_mapMandatory. remediate rejects an issue whose source_locations is empty, so
skipping this step fails every issue.
remediate.
Batch up to 25 issues, correlate on issue_id. You get a policy-checked,
templated patch and an approval_token.remediate cannot touch it; there is no HTML framework variant.Inspect every patch before applying it. Some are not applicable.
remediate proposes the same alt="" for criteria 1.1 and 1.2, which are
opposite requirements — 1.1 asks an informative image to carry a text
alternative, 1.2 asks a decorative one to be ignored. alt="" is what 1.2
requires of an image that is genuinely decorative, and it defeats 1.1.
It does not by itself make 1.2 conforming: whether an image is decorative is
not readable from markup, so the gapfix-1-2 probe returns review unless it
finds a decidable contradiction — markup declaring the image decorative while
still carrying a textual alternative. Read criteria on the outcome and judge
the patch against it; a review is not a pass. confidence is the hardcoded string "high" and tells you
nothing.
A separate syntax defect — the attribute landing after a self-closing /, so
<img … /> came back as <img … / alt=""> — has been fixed, but a binary
older than that fix still emits it. Full detail in
field-mapping.
Refusing a broken patch is the approval gate working, not a loop failure. Report it as refused (not applicable), distinct from a human declining.
Always state which path each fix came from. A policy-checked patch and your own edit do not carry the same guarantee, and a report that blurs them overstates its own reliability.
Present all of the round's patches together. The human accepts or rejects each one individually. Then apply only the accepted set.
Show remediate's approval_token alongside each patch. It re-derives from the
proposal's identity, so it is how you — or anyone reading the record later —
can prove the patch applied is the patch approved.
Never apply a patch that has not been accepted in this round. There is no auto-apply mode, by design.
A rejected patch leaves the loop. Do not re-propose it next round, or you will offer the human the same declined patch indefinitely. Carry it to the final report as refused — which is a different fact from undetected, and must not be collapsed into it.
verify_fix's categories are usable since #320 (merged 2026-10-12). They
were not before: analyze emits one DOM-snapshot evidence hash per scan,
shared by every finding, and that hash used to be part of the fingerprint, so
any edit — the only reason to verify — made every reference finding read as
fixed and every current one as new. The fingerprint is now the finding's
identity only: rule + criterion_id + url + target + component_path.
That triple is also the right key for your own comparison, and it was
verified unique on a live page — 24 findings gave 24 distinct keys.
criterion_id is the part that earns its place: one axe violation often maps to
two RGAA criteria, so the same element appears twice with the same rule,
target and html. Dropping it silently collapses them. Because the
fingerprint now hashes exactly that tuple, your comparison and verify_fix
agree by construction — so report from verify_fix directly, and keep your own
match only as a cross-check when the next paragraph applies.
Full detail in field-mapping.
But a disappeared finding is not automatically a fixed one — and this part
#320 does not touch. The fingerprint is stable only as far as its inputs are,
and target is the input that moves. Two scans of an unedited page differed
by 6 findings, and every one of them sat on a positional or runtime-generated
selector. Restricted to stable selectors the
two runs were identical — 19 findings, same set.
So treat a finding as unstable, not fixed, when its target contains:
:nth-child(…), :nth-of-type(…).go2617933356 — CSS-module or
build-generated names that change between builds or rendersA carousel rotates between scans, so :nth-child(1) points at a different
element each time; such a finding vanishes and reappears with no edit at all.
Report these separately as unstable and do not count them toward
convergence. On the page tested this was 4 of 24 findings — not a corner case.
Prefer a deterministic target. The loop is reliable against a local dev server or a static build, where the DOM does not move between scans. Against a live, dynamic page, expect noise and say so.
Do not use finding id either: it is positional per rule within a scan, so the
same element was rgaa-9.3-listitem-9 in one run and rgaa-9.3-listitem-3 in
another. target is the best identifier available — not a reliable one: see
the unstable shapes above, which no key built on target can survive.
If you do build a reference bundle, three rules, each of which fails silently when broken — full detail in field-mapping:
findings, never pages[].findingsrule/criterion_id/url/target/component_path — not on id, not on
status, and since #320 not on evidence[] eitherstatus: "pass" findingsRemember files[].path is echo-only: verify_fix re-analyses the page, not
your file.
Stop on the first of these:
No findings remain — and the scan actually ran. Success, reported with the residue below.
An empty findings list is not by itself success. analyze returns one
when the scan fails: check completed == true, that errors is empty, and
that evidence is non-empty before believing it. A real example from this
plugin's own testing — analysing http://127.0.0.1:… without
OBSCURA_ALLOW_PRIVATE_NETWORK=1 returns
{"findings": [], "errors": [{"code": "cdp_transport", …}], "completed": false}
An agent that read only findings would have declared a page conformant
that was never loaded. Treat that as a failed round, not a clean one.
Fixpoint: the set of rule + target + criterion_id keys, excluding
unstable selectors, did not change between two rounds. Match on that
triple, not on the fingerprint — the fingerprint moves on its own
whenever the page changes (and on a dynamic page, between any two scans), so
a fingerprint-based fixpoint would never trigger and the loop would always
run to the cap. Excluding unstable selectors matters for the same reason: a
rotating carousel would otherwise keep the set changing for ever.
Round cap — default 5, override with the second argument.
The fixpoint matters more than the cap. If a finding's rule + target +
criterion_id key is still present after you applied a patch for it, the fix
did not land. That is a failure, not slowness: report it as one, name the keys
that did not move, and stop. Spending four more rounds on patches that provably
do nothing wastes the human's attention, which is the one resource this loop
actually consumes.
Judge this on the key, never on the fingerprint. The fingerprint carries a per-scan DOM hash, so it moves whenever the page changes — and on a dynamic page between any two scans — which means "the fingerprint changed" tells you nothing about whether a fix worked.
This has been measured on a controlled edit where the true answer was known. One
patch was applied to a 9-finding page, fixing exactly two findings. Matching on
rule + target + criterion_id returned 2 fixed, 7 remaining, 0 new —
correct. The evidence hash moved, so a fingerprint-based diff would have
returned all 9 fixed and all 7 new — wrong about every single finding.
The check is free, but it is only precise if you kept target verbatim.
Restated selectors make every round look like progress.
These tools reach about 66 of the 106 RGAA criteria, but reaching is not deciding. A clean loop lets you conclude conforming for 32 criteria. The other 74 break down as:
audit_url invokes,
and 8 need a person.So a loop ending at zero findings is evidence about 32 criteria, not a claim about 106. Never report it as RGAA conformity. This is a regulatory context; the difference is not pedantry.
Consult the generated coverage map for which criteria you actually decided and what each one's silence proves. Do not guess, and do not round 32 up to 66.
Six categories, never merged:
| Category | Meaning |
|---|---|
| fixed | its rule + target + criterion_id key is absent from the next round's findings. Since the v2 fingerprint this agrees with verify_fix's own fixed category, so use either — but screen for unstable first, because a selector that moved also reads as absent. |
| refused | the human declined the patch |
| out of reach | the 40, plus anything the coverage map shows as undecidable here |
| outside the referential | axe-core findings whose criterion_id is null — real defects, but not RGAA criteria. On a live WordPress/Elementor homepage this was 7 of 22 findings, so do not treat it as a corner case. |
| unstable | findings on a positional or runtime-generated selector, which move between scans with no edit. 4 of 24 on the page tested. Never report one as fixed. |
| unmappable | document-level findings — html-has-lang, document-title, page-has-heading-one — which source_map returns as no_distinguishing_literal because they live in the HTML shell, not a component. 4 of 9 on a small React fixture. Fix by hand; they are not loop failures. |
Also state: how many rounds ran and why it stopped; which fixes were
remediate patches and which you wrote yourself; and that no tokens were spent.
If the user wants a verdict across all 106 criteria, offer audit_url as a
final, separate step — and price it first: 22 LLM calls per page, and on a
crawl potentially many pages. Get their agreement before running it. Never fold
it into a round.
Better still, if the rgaa-accessibility plugin is installed, that is where the
106-criteria audit and the compliance reports belong.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/generate-instructionsThis skill should be used when the user asks to "generate accessibility instructions", "add RGAA instructions to my repo", "bake accessibility into my coding agent", "write copilot-instructions for accessibility", "set up CLAUDE.md for RGAA", "add Cursor rules for a11y", or runs /acces-accessibility:generate-instructions. It writes or updates a repository's own agent-instruction files (CLAUDE.md, .github/copilot-instructions.md, Cursor rules, AGENTS.md) with the rgaa-mcp trap rules that an agent gets wrong unaided./setupThis skill should be used when the user asks to "set up rgaa-mcp", "install the RGAA accessibility tooling", "configure the RGAA MCP server", "connect rgaa-mcp", "why is analyze failing", "obscura not found", or runs /acces-accessibility:setup. It installs the rgaa-mcp server and the pinned obscura browser binary, wires them into the user's MCP client (Claude Code, opencode, Cursor, VS Code, Claude Desktop), and verifies the installation in four stages that each isolate one failure./usageThis skill should be used whenever the rgaa-mcp tools (analyze, remediate, source_map, verify_fix, igt, lint_static, audit_url, get_audit_result, list_criteria) are about to be called and the task involves accessibility, RGAA, a11y, WCAG conformance, keyboard navigation, accessible names and roles, or fixing accessibility issues in web UI. It teaches the tool chain, the field mappings between the tools, the trap fields that fail silently, and which calls cost tokens. Trigger phrases include "check accessibility", "scan for a11y issues", "fix accessibility violations", "make this accessible", "RGAA audit", "test keyboard accessibility", "lint this template for a11y". It does NOT answer what an RGAA criterion requires — that is the rgaa-accessibility plugin's criteria skill.Other plugins' skills for the same job
npx claudepluginhub jamon8888/holo-rgaa --plugin acces-accessibility