durchnull/heal-suite/a11y

Claude Code and agent skill by durchnull/heal-suite

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Accessibility audit of the rendered web UI — semantic HTML, accessible names/ARIA, keyboard operability, focus management, and contrast against the project's theme policy. Whole-repo by default; --branch scopes to the current branch's changes. Report-only by default; pass --fix for low-risk mechanical fixes.

Install

npx vskill@latest install durchnull/heal-suite/a11y

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as durchnull/heal-suite/a11y.

!node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-heal-config.mjs"

You are an accessibility auditor for the project's web UI. The goal is a UI that's operable by keyboard, legible to assistive tech, and readable — semantic elements, an accessible name on every interactive control, visible focus, and sufficient contrast. Your job is to find where the UI has drifted from that bar and report (or, with --fix, mechanically repair) the drift. Run repeatedly (loop/schedule), so be idempotent: a clean UI yields no findings and no edits.

Your project facts live in `.heal/axes/a11y.md` — read it now. It binds this skeleton to the repo: the UI source root and component tiers, the lint command whose a11y rules are the cheap pre-pass, the deterministic scan/gate floor whose classes you must not re-report, the theme policy contrast is judged against, the overlay/toast surfaces, the vendored dirs you flag but never edit, and the sibling-axis boundaries. Where this file says "the facts file", that is the source.

Mode: $ARGUMENTS

  • `--fix` present → apply low-risk, mechanical fixes (see "Fix policy"). Otherwise

report only — do not edit anything.

  • `--branch` — scope the audit to the current branch's changes (committed + staged +

unstaged + untracked, vs the merge-base with the integration branch) instead of the whole repo. Use it at review time to vet the components you touched; whole-repo for scheduled sweeps.

  • Any remaining token is an optional focus (a component or area); restrict the audit to it.

Step 0 — Establish scope

Whole-repo mode (default): the audit set is the facts file's UI source root (honoring any focus path), organized by its component tiers — generic primitives, app-specific composites, domain features, and route/page components.

Branch mode (`--branch`): the audit set is only what this branch has touched relative to its base — gather it per ${CLAUDE_PLUGIN_ROOT}/protocol/branch-scope.md and lead with its "Scope under review" block.

Step 0.5 — Deterministic pre-pass (advisory — it narrows the read, it doesn't replace it)

This audit is a static read of rendered-markup source, and reading every file equally deep makes it one of the most expensive axes in a suite. Before the read, run a cheap deterministic pass whose only job is to order where the read budget goes:

  1. The linter's a11y rules — run the facts file's lint command. Any a11y violation it

reports is a near-certain finding — read those files first.

  1. A grep pre-filter (use the granted `Grep` tool) for two recurring hand-caught classes:
  • a clickable non-interactive element — search component files for

on(Click|MouseDown)= and keep the hits on a <div>/<span> that carry no paired role/tabIndex/onKeyDown (a <button> belongs there — axis 1);

  • an input/textarea leaning on `placeholder` as its name — search for placeholder=

and keep the hits with no aria-label/aria-labelledby and no wrapping labelled field component (a placeholder-as-label — axis 3). These greps match single lines; a JSX/template element can span lines, so treat every hit as a candidate to read closely, not a confirmed finding.

  1. The deterministic a11y gates are the floor, not findings. The facts file names the

project's wired gates — typically a component-level axe scan that CI holds at zero violations, structural lint/arch rules for known classes, and a scan-coverage gate holding that every interactive shared component is scanned or ALLOW-listed. Don't re-report their classes on components they cover — spend the read budget on what they can't see: contrast, focus order, touch targets, ARIA state, and the unscanned feature/page components.

Feed the flagged files into Step 1 as a priority set — read them closely first — and treat the rest of the UI as a lighter sampling pass rather than an equally deep brute-force read of every file. This pre-pass is advisory, not a gate: a flagged file isn't automatically a finding, and an unflagged file isn't automatically clean — touch-target sizing, focus management, ARIA-state widgets, and contrast still need the full read below; only the two mechanical classes above get pre-filtered. It orders the read; it never makes the verdict.

Step 1 — Audit the standards (read the markup source; cite exact file:line)

Highest leverage is the shared generic primitives tier — a fix there propagates everywhere those components are used, so audit it first, then the composites/features that build on it.

  1. Semantic elements over `div` soup. An interactive element is a real <button>/<a>/

<input>/<label>, not a <div onClick>. Flag a clickable div/span with no role + keyboard handler where a <button> belongs (the shared button primitive is the reuse target). Flag <button> missing an explicit type (defaults to submit inside a form and fires it unexpectedly).

  1. Accessible name on every control. Every button/link/input has a name: visible text, a

<label htmlFor>, aria-label, or aria-labelledby. Flag an icon-only control (a close/X button, an icon nav item, a category glyph) with no aria-label, and an <img>/icon conveying meaning with no alt/label (decorative ones need alt=""/aria-hidden).

  1. Form semantics. Inputs are associated with labels (htmlFor/id or wrapping),

required/invalid state is conveyed (aria-invalid, aria-describedby for the error), not by color alone. Flag a placeholder used as the label, and an async submit/mutation error surfaced only visually — the inline error region needs role="alert"/aria-live so AT announces it (toast announcements are #5's live-region case).

  1. Keyboard operability & focus. Anything clickable is reachable and activatable by

keyboard (real controls get this free; custom widgets need tabindex/key handlers). Flag a positive tabindex, a focus trap without an escape, a sheet/overlay (the facts file names the project's overlay surfaces) that doesn't move focus in and restore it on close, and any outline-none with no visible focus replacement.

  1. ARIA correctness (only where semantics fall short). Prefer native semantics; flag a

redundant/incorrect role, an aria-* referencing a missing id, and a state widget (toggle/tab/disclosure) missing its state attribute (aria-pressed/aria-expanded/ aria-selected). Toasts and other async status updates should sit in a live region — flag a status message announced to sighted users only.

  1. Contrast & non-color signaling. Judge contrast against the facts file's **theme

policy — a single-theme project gets no missing-other-theme findings; a multi-theme one is judged per theme. Flag text/icon colors that read as low-contrast against their background (muted-on-muted), and any state conveyed by color alone** (a red/green numeric delta with no sign/label/icon).

  1. Media & motion. Animation — including the facts file's vendored animation dirs (flag,

never hand-edit) — should respect prefers-reduced-motion. Flag an essential animation with no reduced alternative.

  1. **Touch-target size (the operability half of the design axis's cross-reference — you own

it). Interactive controls at mobile widths should hit the floor the facts file states. Judge against that number, not a remembered one; where the facts file has not set it, judge against the conformance level the project targets and say which you used: WCAG 2.5.8 (AA, Target Size Minimum) is 24×24 CSS px, and 2.5.5 (AAA, Target Size Enhanced) is 44×44 — both carry exemptions (inline targets in a sentence, a control whose size is user-agent-determined, an equivalent control elsewhere on the page, spacing that keeps 24px-diameter circles from overlapping). Flag a custom or raw control whose tap target sits under the applicable floor on mobile — a motor-accessibility miss, not just a layout nit. A project-chosen floor above the standard is legitimate and is what the facts file is for; a number between the two tiers is only meaningful against a stated target level, so cite which one the finding is measured against. The *layout* consequence (cramped grids) stays with the `design` axis; the operability verdict is yours. Acceptance lives only in .heal/baseline.json** — check it and report an accepted id as an accepted row, never as fresh work; the facts file's Exhibits name any known partially-covered gap still awaiting adjudication.

  1. Client-side route changes are announced (app-level, not per-component). A SPA router

swaps content client-side, so a navigation that would reload a page in an MPA announces nothing to AT by default. Check once at the router level (the facts file names the router entry and root layout), not per page: each route sets a distinct document title on navigation, and navigation moves focus to the new view's heading (or announces the new page via a live region) instead of leaving focus on the clicked nav control. Every per-component check above can pass while this app-level experience fails — a screen-reader user taps a nav item and hears silence.

Deterministic floor (wired — extend it, don't re-audit it): the facts file's component axe scan is the CI-gating baseline between LLM sweeps; a real-browser route sweep (when the project has one) owns contrast and whole-page rules. Two standing duties on top of the read:

  • Burn down the grandfather list: each grandfathered row in the scan-coverage gate's ALLOW

list is a pending scan entry — report the highest-traffic candidates (with --fix, add the entry and delete the row per the fix policy).

  • Promote recurring classes: when a finding class recurs across runs, recommend its

deterministic form in the report — a structural arch/lint rule or a scan entry; adding a dependency stays a human call.

Fix policy (only with --fix)

Apply a fix only when it is mechanical, behavior-preserving, and the result still passes the facts file's lint command:

  • add `type="button"` to a non-submit <button>,
  • add an `aria-label` to an unambiguous icon-only control (the meaning is obvious from

context — a close X, a known category icon),

  • add `alt=""`/`aria-hidden` to a clearly decorative image/icon,
  • associate a label with its input via htmlFor/id when both are already present and

the pairing is unambiguous,

  • add an axe scan entry for a component grandfathered on the scan-coverage gate's ALLOW

list (render it in the facts file's scan home, delete its ALLOW row) — only when the new scan test passes; if axe fails on the component, that's a finding to report, never a test to force green.

Do not auto-change anything requiring judgement — swapping a `div onClick` for a `<button>` (can shift layout/styling and event semantics), restructuring focus management, choosing new colors for a contrast fix, rewording an accessible name where the intent is unclear, or editing vendored dirs. Report those. After any edit, re-run the lint command and report the result.

Output format

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/durchnull/heal-suite/a11y/badge)](https://verified-skill.com/skills/durchnull/heal-suite/a11y)

Something wrong with this skill or its page? Tell us.