skills/council/advocate/a11y-audit/SKILL.md
Use when auditing accessibility compliance of a feature or codebase. Covers WCAG 2.2 AA conformance, screen reader compatibility, keyboard navigation, focus management, color contrast, reduced motion, and ARIA usage. Do not use for general UX review (use journey-mapping) or component interaction specs (use interaction-design).
npx skillsauth add dtsong/my-claude-setup a11y-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluate accessibility compliance against WCAG 2.2 AA criteria across perceivable, operable, understandable, and robust principles. Identify barriers for users of assistive technologies and provide actionable remediation steps.
Reads source code, templates, styles, and component markup for accessibility analysis. Does not modify files or execute code. Does not perform automated accessibility scans (recommend tooling where appropriate).
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
:focus-visible).h1-h6) is logical and unbroken.alt text or alt="" for decorative.<label> elements or aria-label.aria-live) for dynamic content updates.<nav>, <main>, <aside>, <header>, <footer>).role="status" or role="alert".role="button" on non-interactive elements without keyboard handlers).aria-expanded, aria-selected, aria-checked states update correctly.aria-describedby and aria-labelledby reference valid IDs.prefers-reduced-motion media query support.aria-describedby).aria-required).Compaction resilience: If context was lost, re-read the Inputs section to identify the audit target, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
| Category | WCAG Criterion | Finding | Severity | Recommendation | |----------|---------------|---------|----------|----------------| | Keyboard | 2.1.1 Keyboard | ... | Critical/High/Med/Low | ... | | Screen reader | 1.3.1 Info and Relationships | ... | ... | ... | | Color contrast | 1.4.3 Contrast (Minimum) | ... | ... | ... | | ARIA | 4.1.2 Name, Role, Value | ... | ... | ... | | Motion | 2.3.1 Three Flashes | ... | ... | ... | | Forms | 3.3.1 Error Identification | ... | ... | ... |
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Interactive wizard to craft effective prompts using Claude Code best practices
tools
Use when batch labeling, prioritizing, and assigning GitHub issues during triage sessions.