agentleFS
ku5icku5ic/claude-kit/skills/audit-a11y/SKILL.md

audit-a11y

Skill2 starsChanged 15 days agoMITView on GitHub

WCAG 2.2 AA audit of a component, page, or template, in any frontend stack

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the target file(s):

    line 28
  2. Distinctive:

    Before finalizing a finding:

    line 32
  3. Distinctive:

    Check whether project CLAUDE.md documents an explicit, deliberate exception for it.

    line 33
  4. Distinctive:

    Do not modify code during the audit.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/audit-a11y

WCAG 2.2 AA audit of a component, page, or template.

Run

With no target in the arguments, ask for one first, since the auditor can't ask. Resolve a linked ticket or doc as skills/investigate step 0 describes, then dispatch the auditor agent (subagent_type: kit:auditor, foreground) with this file's procedure and the resolved arguments. It writes the report. Then run the report-format skill's Runtime checks yourself, and reply per skills/kit-rules/reference/output.md section 3.

Prerequisites

  • $ARGUMENTS should specify the target (file, directory, or component name).
  • Frontend surface must exist. If <repo-context> reports no js and fd -e html -e erb -e jinja -e jinja2 -e j2 -e vue -e svelte -e astro finds nothing: stop and say so.

Procedure

  1. Stack is in the <repo-context> block from the SubagentStart hook.
  2. Confirm frontend surface exists. If not, stop.
  3. Load the wcag-audit skill.
  4. Read the target file(s):
    • A component: include the direct children it renders from this repo.
    • A template: include the parent template it extends or the layout that wraps it.
  5. Apply the checklist from wcag-audit. Stack adaptation section inside the skill tells you which variants apply.
  6. Before finalizing a finding:
    • Check whether project CLAUDE.md documents an explicit, deliberate exception for it. That is the only thing that excuses it.
    • A pattern that repeats across multiple components is not excused by repetition.
    • Flag it once against the shared source and list every consuming location; fixing the shared component resolves all of them.
    • Repetition raises priority; it does not lower it.
  7. When the project already runs axe or the Storybook a11y addon in its tests, cite their results for the findings they cover and mark those runtime-verified. Everything else that needs a running page (such as contrast) goes under "Needs a runtime check"; never install axe or start a server here.

Not a finding

  • An image the markup marks decorative (alt="", aria-hidden) that carries no information.
  • A criterion that needs a running page, such as contrast or reflow, which goes under "Needs a runtime check".
  • A AAA criterion, unless the user asked for AAA.

Severity

The wcag-audit skill's severity rubric.

Output

Load the report-format skill and use its format. Write to the path kit scratch-dir a11y <target-slug> prints.

Rules specific to this audit:

  • Cite WCAG criterion on every finding (e.g. 1.3.1, 4.1.2).
  • Distinguish Level A, AA, AAA if audit scope is AA: AAA findings go to "Out of scope" unless the user asked for them.
  • Items that need a runtime check go to the "Needs a runtime check" section. Do not fabricate verification.
  • Print the report path.

Scope

  • Do not modify code during the audit. Audit only.
  • Fixes are suggestions in the report, not applied changes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.