WCAG Compliance
Deep accessibility compliance guidance for WCAG 2.1 (compliance-focused) and WCAG 3.0 (outcome-focused) standards.
When to Use
Use this skill when:
- Auditing for WCAG 2.1 or WCAG 3.0 compliance
- Mapping findings to specific WCAG criteria
- Providing remediation guidance with code examples
- Testing accessibility fixes
- Explaining user impact and accommodation needs
Reference Materials
This skill includes comprehensive reference documentation:
- wcag-2.2-complete-criteria.md — All 78 WCAG 2.2 success criteria organized by level (A, AA, AAA) with common issues and remediation guidance
- wcag-3.0-outcomes-framework.md — Outcome-focused accessibility framework, paradigm shift from WCAG 2.1, audit workflow, and remediation patterns
- aria-patterns-reference.md — 13 essential ARIA patterns with code examples, keyboard support, and screen reader behavior
- A11Y-PATTERNS.md — Copy-paste-ready accessibility code patterns (modal focus trap, skip link, error handling, form labels, dragging movements, tabs, live regions, screen reader commands)
WCAG 2.1 vs WCAG 3.0: Paradigm Shift
WCAG 2.1 (Compliance-Focused): Binary pass/fail against specific technical criteria. Levels: A (minimum), AA (standard), AAA (enhanced).
WCAG 3.0 (Outcome-Focused): Outcome-centered goals focusing on user ability. Four dimensions: Perceivable, Operable, Understandable, Robust.
See → wcag-3.0-outcomes-framework.md for detailed comparison, paradigm differences, and outcome-focused audit workflow.
Quick Start: 3-Phase Accessibility Workflow
Phase 1: Scan & Analyze
- Run automated tools (axe, WAVE, Lighthouse, Pa11y)
- Conduct keyboard navigation and screen reader testing
- Map findings to WCAG criteria
- Prioritize: Critical (blocks) > High > Medium > Low
Phase 2: Remediate
For each finding:
- Map to WCAG criterion (e.g., "1.4.3 Contrast Level AA")
- Provide code fix with before/after
- Explain user impact (which disabilities affected)
- Suggest testing steps
Phase 3: Verify
- Test keyboard navigation (Tab, Shift+Tab, Enter, Space)
- Test with screen readers (NVDA, JAWS, VoiceOver)
- Verify contrast ratios (4.5:1 normal, 3:1 large, 3:1 UI elements)
- Test at 200% zoom
- Validate semantic HTML and ARIA patterns
See → wcag-2.2-complete-criteria.md for all 78 WCAG 2.2 criteria with common issues and severity mapping.
Code Patterns & ARIA
For accessible code implementations, refer to:
- aria-patterns-reference.md — 13 patterns: buttons, forms, tabs, modals, menus, live regions with full code and keyboard support
- A11Y-PATTERNS.md — Copy-paste patterns: modal focus trap, skip links, error handling, form labels, ARIA tabs
Testing Tools & Assistive Technologies
Automated Testing
- axe DevTools (browser extension, good for CI)
- WAVE (visual feedback on page)
- Lighthouse (Chrome DevTools)
- Pa11y (CLI, scriptable)
Manual Testing & Screen Readers
- Keyboard: Tab, Shift+Tab, Enter, Space, Arrow keys
- NVDA (Windows): Insert+Down (read), Tab (navigate), Insert+H (help)
- JAWS (Windows): Insert+Down (read), Insert+Z (browse/forms mode)
- VoiceOver (Mac): Cmd+F5 (start), VO+Right/Left (navigate)
- Voice Control: "Click [element]", "Press [button]", "Show numbers"
- Contrast: WebAIM Contrast Checker, Color Oracle (color blindness)
Best Practices
Prioritization Matrix
- Critical: Blocks task completion (form won't submit, can't navigate)
- High: Significantly impacts UX (button not keyboard accessible, no focus indicator)
- Medium: Noticeable but workaround exists (low contrast on secondary text, missing alt on decorative image)
- Low: Polish/refinement (improved ARIA labeling, consistency improvements)
WCAG Levels
- Level A: Minimum (rarely sufficient for public products)
- Level AA: Industry standard (target for most products) — 4.5:1 contrast, keyboard accessible, semantic HTML
- Level AAA: Enhanced (specialized/high-stakes) — 7:1 contrast, extensive testing with AT and real users
Common Pitfalls
- Relying only on automated tools (~30% of issues missed)
- Fixing only critical issues (medium issues compound)
- Testing with one screen reader only (behavior varies)
- Forgetting keyboard-only users (not all AT uses screen readers)
- Assuming contrast is sufficient (also need semantic meaning)
- Not testing with real users with disabilities
Assessment Framework
For WCAG 3.0 outcome-focused approach:
- User Outcome at Risk: What can the user NOT do?
- Disability Impact: How are specific disabilities affected?
- Remediation: What change restores the outcome?
- Verification: How do we verify outcome is achieved?
See → wcag-3.0-outcomes-framework.md for assessment template and outcome-focused remediation patterns.
External Resources
1---2name: wcag-compliance3description: Use this skill when verifying WCAG 2.1/3.0 compliance, mapping accessibility violations to specific criteria, or providing remediation guidance with code examples4---56# WCAG Compliance78Deep accessibility compliance guidance for WCAG 2.1 (compliance-focused) and WCAG 3.0 (outcome-focused) standards.910## When to Use1112Use this skill when:13- Auditing for WCAG 2.1 or WCAG 3.0 compliance14- Mapping findings to specific WCAG criteria15- Providing remediation guidance with code examples16- Testing accessibility fixes17- Explaining user impact and accommodation needs1819## Reference Materials2021This skill includes comprehensive reference documentation:2223- **[wcag-2.2-complete-criteria.md](references/wcag-2.2-complete-criteria.md)** — All 78 WCAG 2.2 success criteria organized by level (A, AA, AAA) with common issues and remediation guidance24- **[wcag-3.0-outcomes-framework.md](references/wcag-3.0-outcomes-framework.md)** — Outcome-focused accessibility framework, paradigm shift from WCAG 2.1, audit workflow, and remediation patterns25- **[aria-patterns-reference.md](references/aria-patterns-reference.md)** — 13 essential ARIA patterns with code examples, keyboard support, and screen reader behavior26- **[A11Y-PATTERNS.md](references/A11Y-PATTERNS.md)** — Copy-paste-ready accessibility code patterns (modal focus trap, skip link, error handling, form labels, dragging movements, tabs, live regions, screen reader commands)2728## WCAG 2.1 vs WCAG 3.0: Paradigm Shift2930**WCAG 2.1 (Compliance-Focused)**: Binary pass/fail against specific technical criteria. Levels: A (minimum), AA (standard), AAA (enhanced).3132**WCAG 3.0 (Outcome-Focused)**: Outcome-centered goals focusing on user ability. Four dimensions: Perceivable, Operable, Understandable, Robust.3334**See** → [wcag-3.0-outcomes-framework.md](references/wcag-3.0-outcomes-framework.md) for detailed comparison, paradigm differences, and outcome-focused audit workflow.3536---3738## Quick Start: 3-Phase Accessibility Workflow3940### Phase 1: Scan & Analyze411. Run automated tools (axe, WAVE, Lighthouse, Pa11y)422. Conduct keyboard navigation and screen reader testing433. Map findings to WCAG criteria444. Prioritize: Critical (blocks) > High > Medium > Low4546### Phase 2: Remediate47For each finding:481. Map to WCAG criterion (e.g., "1.4.3 Contrast Level AA")492. Provide code fix with before/after503. Explain user impact (which disabilities affected)514. Suggest testing steps5253### Phase 3: Verify541. Test keyboard navigation (Tab, Shift+Tab, Enter, Space)552. Test with screen readers (NVDA, JAWS, VoiceOver)563. Verify contrast ratios (4.5:1 normal, 3:1 large, 3:1 UI elements)574. Test at 200% zoom585. Validate semantic HTML and ARIA patterns5960**See** → [wcag-2.2-complete-criteria.md](references/wcag-2.2-complete-criteria.md) for all 78 WCAG 2.2 criteria with common issues and severity mapping.6162---6364## Code Patterns & ARIA6566For accessible code implementations, refer to:67- **[aria-patterns-reference.md](references/aria-patterns-reference.md)** — 13 patterns: buttons, forms, tabs, modals, menus, live regions with full code and keyboard support68- **[A11Y-PATTERNS.md](references/A11Y-PATTERNS.md)** — Copy-paste patterns: modal focus trap, skip links, error handling, form labels, ARIA tabs6970---7172## Testing Tools & Assistive Technologies7374### Automated Testing75- axe DevTools (browser extension, good for CI)76- WAVE (visual feedback on page)77- Lighthouse (Chrome DevTools)78- Pa11y (CLI, scriptable)7980### Manual Testing & Screen Readers81- **Keyboard**: Tab, Shift+Tab, Enter, Space, Arrow keys82- **NVDA** (Windows): Insert+Down (read), Tab (navigate), Insert+H (help)83- **JAWS** (Windows): Insert+Down (read), Insert+Z (browse/forms mode)84- **VoiceOver** (Mac): Cmd+F5 (start), VO+Right/Left (navigate)85- **Voice Control**: "Click [element]", "Press [button]", "Show numbers"86- **Contrast**: WebAIM Contrast Checker, Color Oracle (color blindness)8788---8990## Best Practices9192### Prioritization Matrix93- **Critical**: Blocks task completion (form won't submit, can't navigate)94- **High**: Significantly impacts UX (button not keyboard accessible, no focus indicator)95- **Medium**: Noticeable but workaround exists (low contrast on secondary text, missing alt on decorative image)96- **Low**: Polish/refinement (improved ARIA labeling, consistency improvements)9798### WCAG Levels99- **Level A**: Minimum (rarely sufficient for public products)100- **Level AA**: Industry standard (target for most products) — 4.5:1 contrast, keyboard accessible, semantic HTML101- **Level AAA**: Enhanced (specialized/high-stakes) — 7:1 contrast, extensive testing with AT and real users102103### Common Pitfalls104- Relying only on automated tools (~30% of issues missed)105- Fixing only critical issues (medium issues compound)106- Testing with one screen reader only (behavior varies)107- Forgetting keyboard-only users (not all AT uses screen readers)108- Assuming contrast is sufficient (also need semantic meaning)109- Not testing with real users with disabilities110111---112113## Assessment Framework114115For WCAG 3.0 outcome-focused approach:1161171. **User Outcome at Risk**: What can the user NOT do?1182. **Disability Impact**: How are specific disabilities affected?1193. **Remediation**: What change restores the outcome?1204. **Verification**: How do we verify outcome is achieved?121122**See** → [wcag-3.0-outcomes-framework.md](references/wcag-3.0-outcomes-framework.md) for assessment template and outcome-focused remediation patterns.123124---125126## External Resources127128- [WCAG 2.2 W3C Spec](https://www.w3.org/TR/WCAG22/)129- [WCAG 3.0 Draft](https://www.w3.org/TR/wcag-3.0/)130- [WebAIM Tools](https://webaim.org/)131- [W3C ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/)