‹ 首页

accessibility-review

@getcrew44 · 收录于 昨天 · 上游提交 1 个月前

Use to audit a design or page for WCAG 2.1 AA — contrast, keyboard, focus, labels, touch targets, screen reader behavior.

适合你,如果你需要确保产品对残障用户友好

/ 通过 npx 安装 校验哈希
npx oh-my-skill add getcrew44/crew44/accessibility-review
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- getcrew44/crew44/accessibility-review
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify getcrew44/crew44/accessibility-review
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
358GitHub stars
~671上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 cfcf1e7 · 表述以原文为准
它做什么

装上后,Claude 会根据 WCAG 2.1 AA 标准审查设计或网页,检查对比度、键盘操作、焦点、标签、触摸目标和屏幕阅读器行为,并输出详细报告(问题总数、严重程度、WCAG准则、建议修正等)。

什么时候触发

当用户要求审核设计或网页的无障碍性时触发,特别是提到WCAG、无障碍、对比度、键盘导航等关键词。

装好后可以这样说
触发无障碍审核流程。
显示具体元素的对比度数据和建议。
模拟键盘导航测试。
技能原文 SKILL.md作者撰写 · MIT · cfcf1e7

Accessibility Review

Catch the issues that block users before they reach engineering. Most accessibility failures are predictable from the design alone.

WCAG 2.1 AA quick reference

Perceivable

  • 1.1.1 — Non-text content has alt text.
  • 1.3.1 — Structure and meaning conveyed semantically, not visually.
  • 1.4.3 — Contrast ≥ 4.5:1 for body text, ≥ 3:1 for large text (18px+).
  • 1.4.11 — Non-text contrast ≥ 3:1 for UI components and meaningful graphics.

Operable

  • 2.1.1 — All functionality available by keyboard.
  • 2.4.3 — Logical focus order matches the visible reading order.
  • 2.4.7 — Focus indicator is visible and not hidden by outline: none.
  • 2.5.5 — Touch target ≥ 44×44 CSS pixels.

Understandable

  • 3.2.1 — Predictable on focus; no unexpected context changes.
  • 3.3.1 — Errors are identified clearly and tied to the failing field.
  • 3.3.2 — Inputs have visible labels or instructions, not just placeholders.

Robust

  • 4.1.2 — Every interactive control has a name, role, and value exposed to assistive tech.
Common issues to look for first
  1. Insufficient color contrast — especially gray-on-white body text and brand-color CTAs.
  2. Form fields with placeholder-as-label (placeholder disappears on focus).
  3. Click targets under 44×44.
  4. Focus indicators removed in CSS without a replacement.
  5. Modals that trap focus incorrectly (or don't trap at all).
  6. Color used as the only signal (red text alone for errors, green-only success).
  7. Icon-only buttons with no accessible name.
  8. Auto-playing media with no pause control.
Testing approach
  • Automated contrast and structure scan first (catches the easy wins).
  • Walk the screen by keyboard only. Tab, Shift+Tab, Enter, Space, Escape, arrow keys.
  • Screen reader pass (VoiceOver or NVDA). Listen to how each element announces.
  • Zoom to 200%. Does the layout break? Does anything become unreachable?
Output
  • Summary — total issues, count by severity (critical / major / minor).
  • Findings — grouped by WCAG principle (Perceivable / Operable / Understandable / Robust). Each finding: element, issue, WCAG criterion, severity, recommended fix.
  • Color contrast check — table of body text, secondary text, UI elements, with foreground/background/ratio/pass.
  • Keyboard walkthrough — note any element that cannot be reached, activated, or escaped via keyboard.
  • Priority fixes — top three, each named with who it blocks and what it unblocks.
Anti-patterns
  • Treating accessibility as a final polish pass instead of a design constraint.
  • Citing the WCAG number without explaining the user impact.
  • Generic "improve contrast" — name the specific element, the current ratio, the required ratio.
  • Ignoring screen reader experience because the visual passes.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。