Home / Skills / wshobson/agents

wcag-audit-patterns

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

skillLicense: MIT Source: wshobson/agents

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit wshobson/agents/plugins/accessibility-compliance/skills/wcag-audit-patterns .claude/skills/wcag-audit-patterns

Or install it for every project:

npx degit wshobson/agents/plugins/accessibility-compliance/skills/wcag-audit-patterns ~/.claude/skills/wcag-audit-patterns

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β†—

---
name: wcag-audit-patterns
description: Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.
---

# WCAG Audit Patterns

Comprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.

## When to Use This Skill

- Conducting accessibility audits
- Fixing WCAG violations
- Implementing accessible components
- Preparing for accessibility lawsuits
- Meeting ADA/Section 508 requirements
- Achieving VPAT compliance

## Core Concepts

### 1. WCAG Conformance Levels

| Level   | Description            | Required For      |
| ------- | ---------------------- | ----------------- |
| **A**   | Minimum accessibility  | Legal baseline    |
| **AA**  | Standard conformance   | Most regulations  |
| **AAA** | Enhanced accessibility | Specialized needs |

### 2. POUR Principles

```
Perceivable:  Can users perceive the content?
Operable:     Can users operate the interface?
Understandable: Can users understand the content?
Robust:       Does it work with assistive tech?
```

### 3. Common Violations by Impact

```
Critical (Blockers):
β”œβ”€β”€ Missing alt text for functional images
β”œβ”€β”€ No keyboard access to interactive elements
β”œβ”€β”€ Missing form labels
└── Auto-playing media without controls

Serious:
β”œβ”€β”€ Insufficient color contrast
β”œβ”€β”€ Missing skip links
β”œβ”€β”€ Inaccessible custom widgets
└── Missing page titles

Moderate:
β”œβ”€β”€ Missing language attribute
β”œβ”€β”€ Unclear link text
β”œβ”€β”€ Missing landmarks
└── Improper heading hierarchy
```

## Detailed patterns and worked examples

Detailed pattern documentation lives in `references/details.md`. Read that file when the navigation tier above is insufficient.

## Best Practices

### Do's

- **Start early** - Accessibility from design phase
- **Test with real users** - Disabled users provide best feedback
- **Automate what you can** - 30-50% issues detectable
- **Use semantic HTML** - Reduces ARIA needs
- **Document patterns** - Build accessible component library

### Don'ts

- **Don't rely only on automated testing** - Manual testing required
- **Don't use ARIA as first solution** - Native HTML first
- **Don't hide focus outlines** - Keyboard users need them
- **Don't disable zoom** - Users need to resize
- **Don't use color alone** - Multiple indicators needed