Wcag compliance

From tan-yong-sheng/ai-vision-mcp · View interactive version

Wcag compliance is an AI agent skill from the GitHub repository tan-yong-sheng/ai-vision-mcp. Use this skill when verifying WCAG 2.1/3.0 compliance, mapping accessibility violations to specific criteria, or providing remediation guidance with code examples

How to use this skill

Skill file

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:

Reference Materials

This skill includes comprehensive reference documentation:

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

  1. Run automated tools (axe, WAVE, Lighthouse, Pa11y)
  2. Conduct keyboard navigation and screen reader testing
  3. Map findings to WCAG criteria
  4. Prioritize: Critical (blocks) > High > Medium > Low

Phase 2: Remediate

For each finding:

  1. Map to WCAG criterion (e.g., "1.4.3 Contrast Level AA")
  2. Provide code fix with before/after
  3. Explain user impact (which disabilities affected)
  4. Suggest testing steps

Phase 3: Verify

  1. Test keyboard navigation (Tab, Shift+Tab, Enter, Space)
  2. Test with screen readers (NVDA, JAWS, VoiceOver)
  3. Verify contrast ratios (4.5:1 normal, 3:1 large, 3:1 UI elements)
  4. Test at 200% zoom
  5. 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:


Testing Tools & Assistive Technologies

Automated Testing

Manual Testing & Screen Readers


Best Practices

Prioritization Matrix

WCAG Levels

Common Pitfalls


Assessment Framework

For WCAG 3.0 outcome-focused approach:

  1. User Outcome at Risk: What can the user NOT do?
  2. Disability Impact: How are specific disabilities affected?
  3. Remediation: What change restores the outcome?
  4. 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

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.