home / skills / nickcrew / claude-cortex / accessibility-audit
This skill provides fast accessibility triage for pages, components, or PRs to surface WCAG 2.2 AA issues early.
npx playbooks add skill nickcrew/claude-cortex --skill accessibility-auditReview the files below or copy the command above to add this skill to your agents.
---
name: accessibility-audit
description: Fast, high-signal accessibility triage for pages, components, or PRs targeting WCAG 2.2 AA compliance.
keywords:
- accessibility
- a11y
- wcag
- audit
- compliance
triggers:
- accessibility check
- a11y audit
- wcag compliance
- screen reader
- keyboard navigation
---
# Accessibility Audit Skill
Fast, high-signal accessibility triage for pages, components, or PRs. This is a lightweight check, not a full compliance audit.
## When to Use This Skill
- Quick accessibility triage before releases
- Component-level a11y verification
- PR review for accessibility regressions
- Smoke checks for WCAG compliance
- Validating keyboard navigation on new features
## Quick Audit Checklist
### 1. Automated Snapshot (Recommended)
Run one of these automated tools first:
- `npx @axe-core/cli <url>` - Quick axe-core scan
- `npx pa11y <url> --standard WCAG2AA` - Pa11y audit
- Lighthouse Accessibility score (Chrome DevTools > Lighthouse > Accessibility)
### 2. Keyboard Basics
| Check | Expected |
|-------|----------|
| All interactive elements reachable via Tab | Yes |
| Focus indicator always visible | Yes |
| No keyboard traps | Yes |
| Logical tab order | Yes |
| Skip link works for long pages | Yes |
### 3. Semantics and Labels
| Check | Expected |
|-------|----------|
| Single, descriptive H1 | Yes |
| Logical heading order (no large jumps) | Yes |
| Form inputs have visible labels or aria-label | Yes |
| Buttons and links have clear names | Yes |
| Images have meaningful alt text (or empty for decorative) | Yes |
### 4. Visual Contrast
| Element | Minimum Ratio |
|---------|---------------|
| Normal text | 4.5:1 |
| Large text (18pt+ or 14pt bold+) | 3:1 |
| UI components (inputs, buttons, focus rings) | 3:1 |
### 5. Motion and Updates
| Check | Expected |
|-------|----------|
| Respects `prefers-reduced-motion` | Yes |
| Dynamic updates announced (aria-live) | Yes |
## Output Format
After running the audit, report findings as:
```markdown
## Accessibility Audit: [Component/Page Name]
### Result: [Pass | Needs Fixes | Escalate to Full Audit]
### Findings
| Severity | Issue | Location | Fix Guidance |
|----------|-------|----------|--------------|
| Critical | [Description] | [Selector/Line] | [How to fix] |
| Major | [Description] | [Selector/Line] | [How to fix] |
| Minor | [Description] | [Selector/Line] | [How to fix] |
### Escalation Recommendation
[If applicable, explain why a full audit is needed]
```
## Escalate to Full Audit When
- New or changed navigation structure
- Complex forms or authentication flows
- Custom widgets or advanced interactions (modals, accordions, tabs)
- Public releases or compliance requirements
- Significant page structure changes
- Failed automated scans with multiple critical issues
## Notes
- This smoke check targets **WCAG 2.2 AA** by default
- If a different compliance level is required, state it explicitly
- Automated tools catch ~30-40% of issues; manual testing is essential
- Test with actual screen readers (VoiceOver, NVDA) for comprehensive coverage
This skill provides a fast, high-signal accessibility triage for pages, components, or pull requests targeting WCAG 2.2 AA. It is a lightweight smoke check to surface obvious regressions and priorities, not a replacement for a full compliance audit. The focus is actionable findings and clear escalation guidance.
The skill combines an automated snapshot scan with focused manual checks: keyboard navigation, semantic structure, labels, visual contrast, and motion/updates. It produces a concise report that classifies findings by severity and gives concrete fix guidance and escalation recommendations. Use it as a quick gate in development, PR review, or release smoke testing.
Is this a full accessibility audit?
No. This skill performs a high-signal smoke triage to surface common and high-impact issues. A full audit with assistive-technology testing is required for compliance.
Which automated tools does it recommend?
It recommends axe-core CLI, Pa11y with WCAG2AA standard, and Lighthouse accessibility scoring as starting points.