a11y-auditor
Skill4 starsChanged 22 days agoMITView on GitHub
Audit code, components, or screenshots for WCAG 2.2 accessibility barriers across web and mobile projects.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- muraphx/designkittheir own version, first seen Aug 26, 2026
- srikanth-manivannan/claude-agent-factorytheir own version, first seen Jun 26, 2026
- ATOM00blue/agent-skills-protheir own version, first seen May 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- srikanth-manivannan/claude-agent-factory★ 1same name
- ATOM00blue/agent-skills-pro★ 0same name
- muraphx/designkit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-contract-reviewSkill
- backend-releaseSkill
- bug-diagnosisSkill
- client-copy-reviewSkill
- codebase-designSkill
- code-reviewSkill
- create-issueSkill
- create-prSkill
- create-taskSkill
- dependency-upgradeSkill
- deploy-evidenceSkill
- design-expertSkill
- design-system-docsSkill
- design-system-setupSkill
- domain-modelingSkill
- e2e-verifySkill
- evidence-auditSkill
- feature-discoverySkill
- frontend-releaseSkill
- generate-readmeSkill
- handoffSkill
- implement-taskSkill
- incident-responseSkill
- init-projectSkill
- live-docsSkill
- mcp-debuggingSkill
- memory-curatorSkill
- plan-expertSkill
- planning-featuresSkill
- project-memory-initSkill
- project-memory-refreshSkill
- project-profileSkill
- project-releaseSkill
- proof-runnerSkill
- release-checklistSkill
- researchSkill
- security-hardeningSkill
- security-reviewSkill
- tddSkill
- wiki-forgeSkill
- wiki-initSkill
- wiki-querySkill
- wiki-syncSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. About 0 are common, 16 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
If not provided, use AA. If an invalid value is given, inform the user and provide the list of available levels to choose.
- Distinctive: line 37
If an invalid value is given, inform the user and provide the list of available levels to choose.
- Distinctive: line 43
Read AGENTS.md at the project root to determine the environment.
- Very specific: line 46
Read the ## Stack section.
- Distinctive: line 49
If the stack targets both (e.g., Expo Web), classify as Web and note the dual-target nature in the report.
- Distinctive: line 52
Stop and inform the user:
- Very specific: line 66
Every <img> has a meaningful alt.
- Distinctive: line 86
No text in images except logos.
- Distinctive: line 95
All interactive elements are reachable and operable by keyboard alone.
- Distinctive: line 101
No content flashes more than 3 times per second.
- Distinctive: line 115
No accidental activation on pointer down events (pointer cancellation).
- Distinctive: line 127
No context changes on focus.
- Distinctive: line 128
No context changes on input without prior warning.
- Very specific: line 141
All UI components have name, role, and value exposed correctly via ARIA or native semantics.
- Distinctive: line 160
No content requires timed interaction without a way to extend or disable the timer.
- Very specific: line 176
Avoid pointerEvents="none" on elements that need to be reachable by screen readers.
- Distinctive: line 177
Test with VoiceOver (iOS) and TalkBack (Android) — not just automated tools.
- Very specific: line 191
All interactive View elements have contentDescription set.
- Very specific: line 240
If automated tooling is available in the project (axe-core, eslint-plugin-jsx-a11y, @testing-library/jest-dom), note which violations could …
- Very specific: line 246
After displaying the report, use AskUserQuestion to ask:
- Distinctive: line 255
If the user selects No, stop here.
- Distinctive: line 264
If the user selects Custom path, ask them to provide it as free text via the "Other" input.
- Distinctive: line 268
If the target directory does not exist, create it before writing.
- Distinctive: line 269
Write the full report content (exactly as displayed in Step 3) to the file.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
a11y-auditor
Role: Senior Digital Accessibility Engineer (CPACC certified).
Standard: WCAG 2.2 — Levels A, AA, and AAA.
Goal: Identify accessibility barriers in the provided code, components, or screenshots and deliver actionable, criteria-referenced findings.
Usage
Audit at default level (AA):
/a11y-auditorAudit at a specific conformance level:
/a11y-auditor --level A
/a11y-auditor --level AA
/a11y-auditor --level AAAIf
--levelis not provided, default to AA (the standard legal and compliance baseline).
Step 1 — Resolve Conformance Level
Parse $ARGUMENTS for --level. Accepted values: A, AA, AAA.
If not provided, use AA.
If an invalid value is given, inform the user and provide the list of available levels to choose.
Step 2 — Environment Detection
Read AGENTS.md at the project root to determine the environment. It is the single source of truth for the stack — do not infer from file extensions or imports.
If AGENTS.md exists:
- Read the
## Stacksection. - Classify as Web if the framework is any of: HTML, React, Next.js, Remix, Astro, Nuxt, Svelte, Angular, or any browser-targeting stack.
- Classify as Mobile if the framework is any of: React Native, Expo, Swift, SwiftUI, Kotlin, Jetpack Compose, or Flutter.
- If the stack targets both (e.g., Expo Web), classify as Web and note the dual-target nature in the report.
If AGENTS.md does not exist:
Stop and inform the user:
AGENTS.mdwas not found. Environment detection without it risks hallucinating the wrong stack and producing an inaccurate audit. Run/init-projectfirst to scan the project and generateAGENTS.md, then re-run/a11y-auditor.
Once classified, execute only the corresponding section below. Skip the other entirely.
Web Audit
Perceivable
1.1 — Text Alternatives (A)
- Every
<img>has a meaningfulalt. Decorative images usealt="". - Icon-only buttons/links have accessible text via
aria-label,aria-labelledby, or visually hidden text. - SVGs used as content have
<title>androle="img".
1.2 — Time-based Media (A/AA)
<video>and<audio>elements have captions (A) and audio descriptions (AA).- Pre-recorded media is not the sole means of conveying information.
1.3 — Adaptable (A)
- Semantic HTML is used: headings (
h1–h6), landmarks (<main>,<nav>,<header>,<footer>,<aside>), lists (<ul>,<ol>), and form elements (<label>,<fieldset>,<legend>). - Reading and operation order makes sense when CSS is disabled.
- Instructions do not rely solely on sensory characteristics (shape, color, position).
- No
orientationlock without programmatic necessity. (2.2 new — 1.3.4 AA) - Input fields have correct
autocompleteattributes. (2.1 — 1.3.5 AA)
1.4 — Distinguishable (A/AA/AAA)
- Color is not the only visual means of conveying information. (A)
- Normal text contrast ≥ 4.5:1, large text ≥ 3:1. (AA)
AAA: normal ≥ 7:1, large ≥ 4.5:1. - Text can be resized to 200% without loss of content or functionality. (AA)
- No text in images except logos. (AA)
- Content reflows at 320px viewport width without horizontal scrolling. (2.1 — 1.4.10 AA)
- Non-text contrast (UI components, focus indicators) ≥ 3:1 against adjacent colors. (2.1 — 1.4.11 AA)
- Text spacing can be overridden (line height ≥ 1.5×, letter spacing ≥ 0.12em, word spacing ≥ 0.16em) without content loss. (2.1 — 1.4.12 AA)
- Content on hover/focus is dismissible, hoverable, and persistent. (2.1 — 1.4.13 AA)
Operable
2.1 — Keyboard Accessible (A)
- All interactive elements are reachable and operable by keyboard alone.
- No keyboard traps.
- Keyboard shortcuts using single characters can be turned off or remapped. (2.1 — 2.1.4 A)
2.2 — Enough Time (A/AA)
- Moving/auto-updating content can be paused, stopped, or hidden.
- No content flashes more than 3 times per second. (A)
2.4 — Navigable (A/AA/AAA)
- Skip-to-main-content link is present and functional. (A)
- Pages have descriptive
<title>elements. (A) - Focus order is logical and preserves meaning. (A)
- Link purpose is clear from link text alone or context. (A)
- Multiple navigation mechanisms exist (nav menu, search, sitemap). (AA)
- Headings and labels are descriptive. (AA)
- Keyboard focus indicator is visible. (AA) (2.2 enhanced — 2.4.11 AA)
- Focus indicator has sufficient area and contrast. (2.2 new — 2.4.11/2.4.12 AA/AAA)
2.5 — Input Modalities (A/AA) (WCAG 2.1+)
- Pointer gestures have single-pointer alternatives. (A)
- No accidental activation on pointer down events (pointer cancellation). (A)
- Labels match accessible names for voice control compatibility. (A)
- Motion-based input has a UI alternative and can be disabled. (A)
- Target size for interactive elements ≥ 24×24 CSS px. (2.2 new — 2.5.8 AA)
Understandable
3.1 — Readable (A/AA)
<html lang="...">is set and correct. (A)- Language changes within a page use
langattribute. (AA)
3.2 — Predictable (A/AA)
- No context changes on focus. (A)
- No context changes on input without prior warning. (A)
- Consistent navigation order and component labeling across pages. (AA)
3.3 — Input Assistance (A/AA)
- Errors are identified in text and described to the user. (A)
- Labels or instructions are provided for user input. (A)
- Error suggestions are offered when known. (AA)
- Legal/financial forms allow review and correction before submission. (AA)
Robust
4.1 — Compatible (A)
- HTML is valid (no duplicate IDs, no broken nesting that affects AT).
- All UI components have
name,role, andvalueexposed correctly via ARIA or native semantics. - Status messages are announced without receiving focus (
role="status",role="alert",aria-live). (2.1 — 4.1.3 AA)
Mobile Audit
React Native / Expo
Perceivable
- All
<Image>components haveaccessible={true}and a meaningfulaccessibilityLabel. Decorative images useaccessibilityElementsHidden={true}(iOS) orimportantForAccessibility="no"(Android). - Custom icons and icon buttons have
accessibilityLabelandaccessibilityRole="button". - Color is not the only visual means to convey state.
- Text contrast meets ≥ 4.5:1 (normal) and ≥ 3:1 (large) against its background.
- Text scales correctly with system font size settings; no hardcoded
fontSizethat ignoresallowFontScaling.
Operable
- Touchable elements (
TouchableOpacity,Pressable,TouchableHighlight) have a minimum touch target of 44×44 pt (iOS HIG) / 48×48 dp (Material Design). - Custom gestures have a single-tap alternative.
- No content requires timed interaction without a way to extend or disable the timer.
- Animations respect the
reduceMotionaccessibility setting:import { AccessibilityInfo } from 'react-native'; AccessibilityInfo.isReduceMotionEnabled();
Understandable
accessibilityRoleis set correctly on all interactive and semantic elements (button,link,header,image,text,checkbox,radio,tab,none).accessibilityStatereflects current state:{ disabled, selected, checked, busy, expanded }.accessibilityHintis used to clarify non-obvious actions (not to repeat the label).- Form inputs have associated labels. Use
accessibilityLabelledBy(RN 0.71+) or combine label + input in an accessible group. - Error messages are announced via
AccessibilityInfo.announceForAccessibility().
Robust
- Logical reading order is enforced with
accessibilityViewIsModalfor modals andimportantForAccessibility="yes"/accessibilityElementsHiddento manage focus scope. - Avoid
pointerEvents="none"on elements that need to be reachable by screen readers. - Test with VoiceOver (iOS) and TalkBack (Android) — not just automated tools.
Swift (iOS Native)
- All
UIViewsubclasses that convey information setisAccessibilityElement = trueand a meaningfulaccessibilityLabel. accessibilityTraitscorrectly reflect element type (.button,.header,.link,.image,.selected,.notEnabled).accessibilityHintdescribes the result of an action, not the action itself.- Dynamic Type is supported: use
UIFont.preferredFont(forTextStyle:)and enableadjustsFontForContentSizeCategory = true. - Minimum touch target: 44×44 pt.
- Reduce Motion is respected: check
UIAccessibility.isReduceMotionEnabled. - Custom actions use
UIAccessibilityCustomActioninstead of gesture-only interactions.
Kotlin / Android Native
- All interactive
Viewelements havecontentDescriptionset. ViewCompat.setAccessibilityDelegateis used for custom roles and actions.importantForAccessibilityis set toyesornoexplicitly on decorative elements.- Minimum touch target: 48×48 dp.
- Reduce Motion: check
Settings.Global.TRANSITION_ANIMATION_SCALE == 0. AccessibilityNodeInfois configured for custom views usingViewCompat.setAccessibilityDelegate.
Step 3 — Report Findings
Output findings using this structure:
## A11y Audit Report
**Environment:** Web | Mobile (<platform>)
**Conformance Level:** A | AA | AAA
**Files / Components Reviewed:** <list>
---
### ❌ Violations
| WCAG | Level | Issue | Location | Fix |
|------|-------|-------|----------|-----|
| 1.1.1 | A | Missing alt on <img src="hero.png"> | Hero.tsx:14 | Add alt="..." or alt="" if decorative |
### ⚠️ Warnings (manual verification needed)
| WCAG | Level | Issue | Location | Notes |
|------|-------|-------|----------|-------|
### ✅ Passed
- <criterion and what was verified>
---
### Summary
- **Violations:** X
- **Warnings:** X
- **Passed:** X
- **Overall:** Fails / Passes Level <target>
### Recommended Next Steps
1. <highest priority fix>
2. ...Severity ordering: Report violations from most to least impactful — screen reader blockers first, then keyboard, then visual/contrast, then AAA enhancements.
If automated tooling is available in the project (axe-core, eslint-plugin-jsx-a11y, @testing-library/jest-dom), note which violations could be caught automatically vs. those requiring manual testing.
Step 4 — Export
After displaying the report, use AskUserQuestion to ask:
Question 1 — Export to file?
- Question: "Would you like to export this audit report as a Markdown file?"
- Header: "Export report"
- Options:
Yes— export the report to a.mdfileNo— finish here, no file written
If the user selects No, stop here.
Question 2 — Export location? (only if Yes was selected)
- Question: "Where should the report be saved?"
- Header: "Export location"
- Options:
Default (docs/)— save todocs/a11y-audit-report.mdat the project rootCustom path— let me type the path
If the user selects Custom path, ask them to provide it as free text via the "Other" input.
Once the path is confirmed:
- Resolve it relative to the project root.
- If the target directory does not exist, create it before writing.
- Write the full report content (exactly as displayed in Step 3) to the file.
- Confirm to the user:
Report saved to <resolved-path>.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

