Skip to content
Back to skills

A11y Audit

ASecurity

Run a runtime accessibility audit using axe-core via Playwright and review the results

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
testingbash

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add SkillfulAgents/SuperAgent --skill a11y-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of A11y Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for A11y Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skillfulagents-a11y-audit/badge)](https://www.skillsdirectory.com/skills/skillfulagents-a11y-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Run a runtime accessibility audit using axe-core via Playwright and review the results
---

# Accessibility Audit

Run the axe-core runtime accessibility audit and analyze the results.

## Steps

1. **Run the a11y E2E test** to get current violations:
   ```bash
   E2E_MOCK=true npx playwright test e2e/specs/a11y-audit.spec.ts --project=web-chromium --reporter=list 2>&1
   ```

2. **Analyze the output**:
   - The test scans multiple pages/states of the app using axe-core
   - Each violation includes: rule ID, impact level (critical/serious/moderate/minor), affected elements, and a help URL
   - Violations are printed as structured JSON in test failure output

3. **Triage the results** and present a summary grouped by impact:
   - **Critical/Serious**: These should be fixed — they block assistive technology users
   - **Moderate**: Should be fixed when touching those components
   - **Minor**: Nice to have, low priority

4. **For each violation**, explain:
   - What the issue is in plain language
   - Which component/file is likely responsible (map CSS selectors back to source)
   - The recommended fix

5. **Ask the user** which violations they'd like to fix before making changes.

## Key files

- `e2e/specs/a11y-audit.spec.ts` — The Playwright test that runs axe-core scans
- `.eslintrc.json` — Static a11y lint rules (eslint-plugin-jsx-a11y)

## Notes

- The E2E test runs against the mock dev server (E2E_MOCK=true), so it audits the real rendered DOM
- axe-core checks WCAG 2.1 AA by default
- Some violations may come from third-party components (shadcn/ui, Radix) — note these separately
- Do NOT run `npm build` — the test uses the Vite dev server

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.