Skip to content
Skillpedia
Testing41k Β· #6626

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.md

Copy 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

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/accessibility-compliance/skills/wcag-audit-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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

  1. 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.
  2. 2Tell the agent what to audit: a URL, a page's HTML, or a component. Name the target level, usually AA.
  3. 3Ask for a report grouped by impact: critical, serious and moderate, with the affected element and the rule it breaks.
  4. 4Ask for a fix for each critical item first. Apply the fixes, then ask the agent to re-check the same page.
  5. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills