wcag-audit-patterns
What it does
This tool helps check if a website or app is accessible to everyone, including people with disabilities. It checks for common issues and suggests how to fix them.
When to use it
- βWhen creating a new website or app.
- βWhen checking if an existing site is accessible.
- βWhen fixing accessibility problems.
Skill link
https://github.com/wshobson/agents/blob/main/plugins/accessibility-compliance/skills/wcag-audit-patterns/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAudit this website for accessibility and tell me how to fix any issues.β
5 new skills a week. 1 minute to read.
wcag-audit-patterns: full guide
Checking a website against accessibility rules is slow work. WCAG 2.2 has many criteria, and teams often do not know where to start or which problems matter most. This skill gives your agent a structured way to audit a page. It covers the three conformance levels (A, AA, AAA), the four POUR principles, and a ranking of common violations from critical to moderate.
It is for developers, designers and product owners who need to find and fix accessibility problems. It also helps people who face a legal or procurement requirement, such as ADA, Section 508 or a VPAT. You do not need to know WCAG in advance. The skill gives the agent the framework, and the agent explains each finding to you in plain terms.
Use cases
Prepare for a compliance review
Your company must reach AA conformance before a public-sector contract is signed. You ask the agent to audit the sign-up flow and rank the problems by impact, so you fix blockers such as missing form labels first and leave minor issues for later.
Fix a failed automated scan
A scanner report lists dozens of issues on your checkout page, with little explanation. You paste it in and ask the agent to group the issues, explain each one, and suggest native HTML fixes before any ARIA attributes are considered.
Build an accessible component
You are creating a custom dropdown menu for a design system. The agent reviews it for keyboard access, visible focus and screen reader support, and points out where a plain HTML element would work better than a custom widget.
Step by step
- 1Install the skill by placing the wcag-audit-patterns folder in ~/.claude/skills/ (or your project's .claude/skills/ folder), then start a new session.
- 2Tell the agent what to audit: a URL, a page's HTML, or a component. Name the target level, usually AA.
- 3Ask for a report grouped by impact: critical, serious and moderate, with the affected element and the rule it breaks.
- 4Ask for a fix for each critical item first. Apply the fixes, then ask the agent to re-check the same page.
- 5Test what the agent cannot confirm. Use only your keyboard, try a screen reader, and ask real users if possible.
Example
What to ask
βAudit the HTML of our contact form for WCAG 2.2 AA. List problems by impact and show the corrected code for the critical ones.β
What you get
The agent returns a short report. Critical: three inputs have no labels, and the submit control is a clickable div that keyboard users cannot reach. Serious: the grey placeholder text has too little contrast, and the page has no title. It then shows corrected HTML using label elements and a real button.
Tips
- βTreat automated results as a starting point. The skill itself says only 30 to 50 percent of issues can be detected automatically, so keyboard and screen reader checks are still your job.
- βAsk for native HTML fixes first. The skill advises against using ARIA as the first solution, because a plain button or label is often simpler and more reliable.
- βDo not hide focus outlines or disable zoom to make a design look cleaner. Both break the experience for keyboard users and people who enlarge text.
- βGive the agent one page or component at a time. A narrow audit gives more specific findings than a whole-site request.
Alternatives
- webapp-testing
Pick it when you need to run a local web app, capture screenshots and read browser logs, rather than review accessibility rules.
- qa
Pick it when you want an overall quality check of a site in a real browser with a score, not a WCAG-focused audit.
- browser-testing-with-devtools
Pick it when you want to inspect behavior and errors directly in a real browser while debugging.
Questions and answers
Which conformance level should I aim for?
Level AA is the usual target, because most regulations ask for it. Level A is the minimum baseline. Level AAA is for specialized needs, and you rarely need it for a whole site.
Can the skill help with a VPAT or legal requirements?
The skill lists ADA, Section 508 and VPAT among its uses. It helps you find and fix issues, but it is not legal advice. A formal conformance statement still needs a qualified human review.
Do I need to know how to code?
Not to read the findings, since the agent explains them in plain language. To apply fixes you or a developer must edit the page or component. The agent can write the corrected code.
How it works
The tool uses automated and manual tests to find accessibility problems. It compares the site against accessibility rules and suggests the necessary fixes.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
FAQ
What are WCAG guidelines?
WCAG are international guidelines for making web content accessible to people with disabilities.
Why is accessibility important?
It's important to ensure everyone, regardless of their abilities, can use the internet and access information.
Can I rely only on automated tests?
No, automated tests only catch some issues. Manual testing and testing with real users are essential.
Details
Original description by the author
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.
repo: wshobson/agents
Popularity
- GitHub stars
- 41k
- Ranking position
- #6626
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
screen-reader-testing
41kHas your agent test websites using screen readers to ensure they are accessible.
multi-reviewer-patterns
41kEnables your agent to coordinate parallel code reviews, deduplicating findings and consolidating reports.
parallel-debugging
41kAllows the agent to debug complex issues with parallel investigations and root cause analysis.
parallel-feature-development
41kCoordinates the development of new features by multiple agents. It helps avoid conflicts when several agents work together.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.