Hatch3r a11y audit

From hatch3r/hatch3r · View interactive version

Hatch3r a11y audit is an AI agent skill from the GitHub repository hatch3r/hatch3r. Runs a WCAG AA accessibility audit with findings and fixes across 7 scan categories (keyboard, contrast, ARIA, reduced motion, screen reader, high contrast, automated axe). Use when auditing and remediating accessibility.

How to use this skill

Skill file

Accessibility Audit Workflow

Quick Start

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Read accessibility requirements from rules and specs
- [ ] Step 2: Automated scan — run axe-core or similar on all pages/components
- [ ] Step 3: Manual audit — load references/manual-audit-checklist.md
- [ ] Step 4: Catalog findings by severity (critical/major/minor)
- [ ] Step 5: Fix critical and major findings
- [ ] Step 6: Verify fixes with re-scan and manual check

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: WCAG conformance target (A vs AA vs AAA), scope (single component vs full app), surfaces to audit (which routes), fix authority (audit-only vs audit-and-fix), and screen-reader pass scope (per release vs per audit).

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Relationship to the verification gates

This skill is the accessibility audit-and-fix WORKFLOW — enumerate violations (Steps 2-4), fix critical and major findings (Step 5), re-verify (Step 6). Its unique value is that fix loop plus the 7-category manual audit in references/manual-audit-checklist.md; no gate re-runs those. Two sibling skills own the pass/fail side of the same WCAG territory:

Delegation chain: this skill's Required Agent Delegation spawns agents/hatch3r-ui.md (CQ1), and hatch3r-ui runs hatch3r-ui-ux-verify as its gate — so a11y-audit → hatch3r-ui → hatch3r-ui-ux-verify. No duplication: this skill owns the audit-and-fix workflow; the gate owns the pass/fail verdict.

Progressive Disclosure

Step 1: Read Accessibility Requirements

From project component rules (Accessibility section):

For the full WCAG requirements matrix, load references/manual-audit-checklist.md.

For external library docs and current best practices, follow the project's tooling hierarchy.

Step 2: Automated Scan

Step 3: Manual Audit

Load references/manual-audit-checklist.md and work through each category:

  1. Keyboard navigation
  2. Color contrast
  3. ARIA attributes
  4. Reduced motion
  5. Screen reader
  6. High contrast mode

The reference file provides the specific criteria, DevTools settings, and pass/fail conditions for each.

Step 4: Catalog Findings

Use the severity rubric in references/manual-audit-checklist.md to assign severity. Produce a findings table: ID, severity, WCAG criterion, description, location, fix suggestion. Prioritize critical first, then major. Minor can be batched.

Step 5: Fix Critical and Major Findings

Step 6: Verify Fixes

Required Agent Delegation

You MUST spawn these agents via the Task tool (subagent_type: "general-purpose") at the appropriate points:

Related Rules

Error Handling

Definition of Done

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.