Skip to content

Comprehensive WCAG 2.1 accessibility guide with POUR principles, code patterns, and conformance tables for audits and fixes.

CCM score
69 of 100
skills.sh installs
362
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the four POUR principles with conformance levels A, AA, and AAA and their contrast and target requirements
  • Includes HTML, CSS, and JavaScript examples for alt text, contrast, keyboard handling, focus management, skip links, and forms
  • Enforces focus visibility with :focus-visible and respects prefers-reduced-motion for motion-sensitive users
  • Designed for audits and remediation requests such as "a11y audit", "WCAG compliance", and "keyboard navigation"

Install

$ npx -y skills add davila7/claude-code-templates --skill accessibility -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Accessibility (a11y)

Comprehensive accessibility guidelines based on WCAG 2.1 and Lighthouse accessibility audits. Goal: make content usable by everyone, including people with disabilities.

WCAG Principles: POUR

PrincipleDescription
PerceivableContent can be perceived through different senses
OperableInterface can be operated by all users
UnderstandableContent and interface are understandable
RobustContent works with assistive technologies

Conformance levels

LevelRequirementTarget
AMinimum accessibilityMust pass
AAStandard complianceShould pass (legal requirement in many jurisdictions)
AAAEnhanced accessibilityNice to have

Perceivable

Text alternatives (1.1)

Images require alt text:

<!-- ❌ Missing alt -->
<img src="chart.png">

<!-- ✅ Descriptive alt -->
<img src="chart.png" alt="Bar chart showing 40% increase in Q3 sales">

<!-- ✅ Decorative image (empty alt) -->
<img src="decorative-border.png" alt="" role="presentation">

Details

Repository
github.com/davila7/claude-code-templates
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the accessibility skill do?

The accessibility skill audits and improves web pages against WCAG 2.1 guidelines, covering perceivable, operable, understandable and robust content. It is written for checking alt text, color contrast, keyboard navigation, focus states, skip links, reduced motion and form labels.

When should I use the accessibility skill?

The accessibility skill runs when you ask an agent to improve accessibility, run an a11y audit, check WCAG compliance, add screen reader support, fix keyboard navigation or make a page accessible. Its guidance covers conformance levels A, AA and AAA, with AA named as the usual target.

How do I install the accessibility skill?

Run npx -y skills add davila7/claude-code-templates --skill accessibility -y inside your project. After that, the accessibility skill gives the agent WCAG 2.1 checks and code patterns for the front end it is working on.

More from davila7/claude-code-templates

All 398

Similar to Accessibility

More Frontend & UI Code