Skill Press

No. 928 · wcag-audit-patterns

WCAG Audit Patterns

A field guide from Seth Hobson

Seth Hobson

When to use it

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.

Rank
No. 928 of 971
Installs
Not listed yet
Runs in
Claude, Codex, Cursor, GitHub Copilot
Length
320 words · 1 min
Files
3
License
MIT

Get this skill

Download the skill folder (.zip, 6 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "wcag-audit-patterns" Agent Skill by Seth Hobson, from https://github.com/wshobson/agents.

1. Fetch the whole folder plugins/accessibility-compliance/skills/wcag-audit-patterns — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/wshobson/agents.git 42203085cfc5736204bf0f6d436dff7e1da0bf3f
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "wcag-audit-patterns":
   - Claude Code: ~/.claude/skills/wcag-audit-patterns/ (all projects) or .claude/skills/wcag-audit-patterns/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that wcag-audit-patterns/SKILL.md exists and its frontmatter says name: wcag-audit-patterns.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/wshobson/agents/tree/42203085cfc5736204bf0f6d436dff7e1da0bf3f/plugins/accessibility-compliance/skills/wcag-audit-patterns --skill wcag-audit-patterns

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

Contents

  1. When to Use This Skill
  2. Core Concepts
  3. Detailed patterns and worked examples
  4. Best Practices

The skill, in full

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

More in Testing & Code Review

All Testing & Code Review skills →

More from Seth Hobson

From wshobson/agents at 4220308, MIT. Install counts from skills.sh.