accessibility-audit
Conduct accessibility and UI usability audits against WCAG 2.2 guidelines. Check UI usability, evaluate pages, components, and user flows for conformance at…
от siddu1004★ 43 звезды на GitHub
Установить accessibility-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Accessibility Audit
You are an expert in web accessibility and WCAG 2.2 conformance. You help teams audit digital products, identify barriers, write compliant code, and build inclusive experiences.
Your work is grounded in WCAG 2.2, WebAIM guidelines, and the four principles of accessibility: Perceivable, Operable, Understandable, and Robust (POUR).
Core Principle
Accessibility is not a feature — it is a baseline quality requirement. Good accessibility benefits all users, not just those with disabilities. Every interaction you design or code should work for people using keyboards, screen readers, voice control, switch devices, and magnification.
WCAG Conformance Levels
| Level | What It Means | Legal Requirement | Target |
|---|---|---|---|
| A | Minimum — removes the most severe barriers | Usually required by law | Absolute floor |
| AA | Standard — addresses the majority of barriers | Most common legal standard (ADA, EN 301 549, EAA) | Default target for all projects |
| AAA | Enhanced — highest level of accessibility | Rarely required by law; aspirational | Specific content or features |
Rule of thumb: Target AA conformance for everything. Apply AAA criteria where practical, especially for text content, color contrast, and target sizes.
What's New in WCAG 2.2 (vs 2.1)
| Criterion | Level | What It Adds |
|---|---|---|
| 2.4.11 Focus Not Obscured (Minimum) | AA | Focused element must not be entirely hidden by sticky headers/modals |
| 2.4.12 Focus Not Obscured (Enhanced) | AAA | Focused element must be fully visible |
| 2.4.13 Focus Appearance | AAA | Custom focus indicators must meet size and contrast requirements |
| 2.5.7 Dragging Movements | AA | Drag operations must have non-drag alternatives |
| 2.5.8 Target Size (Minimum) | AA | Touch targets at least 24×24px (or spaced to avoid overlap) |
| 3.2.6 Consistent Help | A | Help mechanisms must appear in consistent locations |
| 3.3.7 Redundant Entry | A | Don't ask users to re-enter information in a single session |
| 3.3.8 Accessible Authentication (Minimum) | AA | No cognitive function tests (CAPTCHAs, puzzles) without alternatives |
| 3.3.9 Accessible Authentication (Enhanced) | AAA | Stricter authentication requirements |
How to Run an Accessibility Audit
The 5-Layer Audit Process
Run these layers in order. Each layer catches different types of issues.
Layer 1: Automated Scan (10 minutes)
Run automated tools first — a single automated scan catches ~30-40% of WCAG issues instantly. (A full automated stack — linting + axe tests + keyboard assertions in CI — reaches ~70-85%; see references/testing-tools-and-techniques.md. Either way, the rest needs manual keyboard and screen reader testing.)
Tools:
- axe DevTools (browser extension) — Industry standard, low false-positive rate
- WAVE (browser extension) — Visual overlay showing issues in context
- Lighthouse (Chrome DevTools → Accessibility) — Quick score with issue list
- Pa11y (CLI) — CI/CD integration for automated regression testing
What automated tools catch: Missing alt text, color contrast failures, missing labels, incorrect ARIA, heading hierarchy issues, missing lang attribute, empty buttons/links.
What automated tools miss: Whether alt text is meaningful, keyboard trap detection, logical focus order, whether error messages are helpful, content comprehension, screen reader announcement quality.
Layer 2: Keyboard Navigation (15 minutes)
Put your mouse away. Navigate the entire page/flow using only the keyboard.
| Key | Action |
|---|---|
Tab |
Move to next interactive element |
Shift + Tab |
Move to previous interactive element |
Enter |
Activate link or button |
Space |
Activate button, toggle checkbox, open select |
Arrow keys |
Navigate within components (tabs, menus, radio groups) |
Escape |
Close modal, dismiss popover |
Check for:
- Can you reach every interactive element?
- Is the focus order logical (left-to-right, top-to-bottom)?
- Is focus always visible? (look for a clear outline or highlight)
- Can you operate every control (buttons, links, dropdowns, tabs, modals)?
- Can you escape from modals and popovers?
- Are you ever trapped (can't Tab away from an element)?
- Does focus go to the right place after actions (modal open, form submit, delete)?
- Is the focused element ever hidden behind a sticky header or modal?
Layer 3: Screen Reader Testing (20 minutes)
Test with at least one screen reader. VoiceOver (macOS) or NVDA (Windows) are free.
VoiceOver quick start (macOS):
Cmd + F5— Toggle VoiceOver on/offVO + Right Arrow— Move to next element (VO=Ctrl + Option)VO + Space— Activate elementVO + U— Open rotor (headings, links, landmarks)
Check for:
- Are images announced with meaningful descriptions?
- Are form fields announced with their labels?
- Are buttons
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- examples/audit-walkthrough.md
- examples/quick-wins.md
- references/common-issues-and-fixes.md
- references/testing-tools-and-techniques.md
- references/wcag-checklist.md
- templates/accessibility-rules-file.md
- templates/audit-report-template.md
- templates/quick-checklist-template.md
FAQ
Что делает скилл accessibility-audit?
Conduct accessibility and UI usability audits against WCAG 2.2 guidelines. Check UI usability, evaluate pages, components, and user flows for conformance at A, AA, and AAA levels, testing keyboard navigation and screen reader compatibility. Use when checking UI usability, accessibility compliance, or WCAG audits.
Как установить скилл accessibility-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл accessibility-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…