一键导入
accessibility-audit
Audit web accessibility against W3C WCAG 2.2 Level AA using framework-agnostic checks, remediation patterns, and portable command-line scanning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit web accessibility against W3C WCAG 2.2 Level AA using framework-agnostic checks, remediation patterns, and portable command-line scanning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | accessibility-audit |
| description | Audit web accessibility against W3C WCAG 2.2 Level AA using framework-agnostic checks, remediation patterns, and portable command-line scanning. |
| skillMetadata | {"author":"skilly-hand","last-edit":"2026-04-04","license":"Apache-2.0","version":"1.0.0","changelog":"Added portable WCAG 2.2 Level AA accessibility auditing skill with W3C-only references and scanner script; enables consistent web accessibility review across frameworks; affects catalog skill coverage and install plans for stacks recommending accessibility-audit","auto-invoke":"Auditing, reviewing, or implementing web accessibility against WCAG 2.2 Level AA","allowed-tools":["Read","Edit","Write","Glob","Grep","Bash","WebFetch","WebSearch","Task","SubAgent"]} |
Use this skill when:
Do not use this skill for:
Default baseline:
W3C status notes (verified from W3C WCAG overview):
Use only W3C sources for decisions and remediation rationale.
Audit checks in this order to reduce misses:
button, a, input, select, textarea) before ARIA-heavy custom widgets.Fix in this order:
Use W3C validators as baseline technical checks, then complete manual WCAG behavior review:
Is this an interactive control? -> Verify keyboard access + visible focus + accessible name
Is this non-text content (image/icon/media)? -> Verify text alternative strategy
Is this a form input or validation message? -> Verify labels, instructions, errors, and status messaging
Is this a custom widget pattern? -> Verify role/state/property model and keyboard model
Does styling reduce legibility or discernibility? -> Verify text + non-text contrast and target size
Otherwise -> Run checklist sweep and document residual risk
<button type="button" aria-label="Close dialog" class="icon-button">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" />
</svg>
</button>
.icon-button:focus-visible {
outline: 2px solid #005a9c;
outline-offset: 2px;
}
<label for="email">Email address</label>
<input
id="email"
type="email"
aria-invalid="true"
aria-describedby="email-error"
/>
<p id="email-error" role="alert">Enter a valid email address.</p>
<button type="button" class="card-action">Open details</button>
<div role="button" tabindex="0" aria-label="Open details"></div>
# Run default scan on current directory
bash catalog/skills/accessibility-audit/scripts/audit-a11y.sh
# Scan a specific path
bash catalog/skills/accessibility-audit/scripts/audit-a11y.sh src
# Generate markdown report
bash catalog/skills/accessibility-audit/scripts/audit-a11y.sh --report src
# Generate JSON output for CI pipelines
bash catalog/skills/accessibility-audit/scripts/audit-a11y.sh --json src
Review code, decisions, and artifacts through an independent committee and safety guard, then optionally run bounded, approval-gated remediation. Trigger: reviewing risky artifacts or remediating structured review findings.
Plan, execute, and verify multi-step work through versioned specs with small, testable tasks. Trigger: planning or executing feature work, bug fixes, and multi-phase implementation.
Guide implementation through evidence-based RED, GREEN, and REFACTOR cycles without assuming a language, framework, or test runner. Trigger: implementing testable behavior or reproducing a regression with tests first.
Guide users from Figma MCP installation and authentication through first canvas creation, with function-level tool coverage and operational recovery patterns.
Capture compact, neutral, AI-ready Markdown handoffs that preserve session context across chats without becoming a full transcript or personal memory store. Trigger: summarizing, compacting, preserving, or handing off session context across chats.
Author root AGENTS.md as a Where/What/When orchestrator that routes tasks and skill invocation clearly.