Communitygithub.com

/accessibility-review

对设计稿或页面运行 WCAG 2.1 AA 无障碍性审计。通过“审计无障碍性”、“检查 a11y”、“这个可访问吗?”触发,或在审查颜色对比度、键盘导航、触摸目标大小或屏幕阅读器行为时使用。

accessibility-review 是什么?

这是一个专门用于对设计稿或页面进行 WCAG 2.1 AA 无障碍性合规审计的技能。它能够识别常见的无障碍性问题,如颜色对比度不足、缺少表单标签、键盘无法访问交互元素等,并提供结构化的审计报告,涵盖感知性、可操作性、可理解性和健壮性四大原则。该技能支持配合设计工具(如 Figma)直接检查颜色值和 ARIA 角色,也可连接项目跟踪工具创建对应的问题工单。审计报告包含摘要、问题列表、颜色对比度检查表、键盘导航测试记录和屏幕阅读器测试结果,帮助开发者和设计师在交付前系统性地确保产品的无障碍性。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tmnhutwork/Landingpage-Photo-Retouch/tree/HEAD/.agents/plugins/anthropic-design/skills/accessibility-review

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

accessibility-review 是做什么的?

如果你看到不熟悉的占位符或需要检查哪些工具已连接,请参阅CONNECTORS.md。

对设计稿或页面进行 WCAG 2.1 AA 无障碍性合规审计。

用法

/accessibility-review $ARGUMENTS

审计无障碍性:@$1

WCAG 2.1 AA 快速参考

可感知

  • 1.1.1 非文本内容有替代文本
  • 1.3.1 信息和结构通过语义传达
  • 1.4.3 对比度 >= 4.5:1(普通文本),>= 3:1(大文本)
  • 1.4.11 非文本对比度 >= 3:1(UI 组件、图形)

可操作

  • 2.1.1 所有功能均可通过键盘使用
  • 2.4.3 逻辑焦点顺序
  • 2.4.7 可见焦点指示器
  • 2.5.5 触摸目标 >= 44x44 CSS 像素

可理解

  • 3.2.1 焦点处的行为可预测(无意外变化)
  • 3.3.1 错误识别(描述错误)
  • 3.3.2 输入字段的标签或说明

健壮

  • 4.1.2 所有 UI 组件的名称、角色、值

常见问题

  1. 颜色对比度不足
  2. 缺少表单标签
  3. 交互元素无法通过键盘访问
  4. 有意义的图片缺少替代文本
  5. 模态框中的焦点陷阱
  6. 缺少 ARIA 地标
  7. 自动播放媒体无控制按钮
  8. 时间限制无延长选项

测试方法

  1. 自动扫描(捕获约 30% 的问题)
  2. 仅通过键盘导航
  3. 屏幕阅读器测试(VoiceOver、NVDA)
  4. 颜色对比度验证
  5. 放大至 200% — 布局是否会断裂?

输出

## 无障碍性审计:[设计稿/页面名称]
**标准:** WCAG 2.1 AA | **日期:** [日期]

### 摘要
**发现问题:** [X] | **严重:** [X] | **主要:** [X] | **次要:** [X]

### 发现

#### 可感知
| # | 问题 | WCAG 标准 | 严重程度 | 建议 |
|---|------|-----------|----------|------|
| 1 | [问题] | [1.4.3 对比度] | 🔴 严重 | [修复] |

#### 可操作
| # | 问题 | WCAG 标准 | 严重程度 | 建议 |
|---|------|-----------|----------|------|
| 1 | [问题] | [2.1.1 键盘] | 🟡 主要 | [修复] |

#### 可理解
| # | 问题 | WCAG 标准 | 严重程度 | 建议 |
|---|------|-----------|----------|------|
| 1 | [问题] | [3.3.2 标签] | 🟢 次要 | [修复] |

#### 健壮
| # | 问题 | WCAG 标准 | 严重程度 | 建议 |
|---|------|-----------|----------|------|
| 1 | [问题] | [4.1.2 名称、角色、值] | 🟡 主要 | [修复] |

### 颜色对比度检查
| 元素 | 前景色 | 背景色 | 比例 | 要求 | 通过? |
|------|--------|--------|------|------|--------|
| [正文文本] | [颜色] | [颜色] | [X]:1 | 4.5:1 | ✅/❌ |

### 键盘导航
| 元素 | 跳转顺序 | Enter/空格 | Escape | 箭头键 |
|------|----------|------------|--------|--------|
| [元素] | [顺序] | [行为] | [行为] | [行为] |

### 屏幕阅读器
| 元素 | 朗读内容 | 问题 |
|------|----------|------|
| [元素] | [屏幕阅读器读出的内容] | [问题(如有)] |

### 优先级修复
1. **[严重修复]** — 影响[谁],阻止[什么]
2. **[主要修复]** — 改善[什么],针对[谁]
3. **[次要修复]** — 锦上添花

如果连接器可用

如果 ~~设计工具 已连接:

  • 直接从 Figma 检查颜色值、字号和触摸目标
  • 在设计规范中检查组件的 ARIA 角色和键盘行为

如果 ~~项目跟踪工具 已连接:

  • 为每个无障碍性发现创建工单,标注严重程度和 WCAG 标准
  • 将发现链接到现有的无障碍性修复项目

提示

  1. 从对比度和键盘开始 — 这些能捕获最常见且影响最大的问题。
  2. 使用真正的辅助技术测试 — 我的审计是个好的开始,但使用 VoiceOver/NVDA 进行手动测试能发现我无法检测的问题。
  3. 按影响程度排序 — 先修复阻碍用户的问题,再优化细节。

Individual skills in this repo

This repo contains 15 individual skills — each has its own dedicated page.

tmnhutwork/Landingpage-Photo-Retouch

Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.

tmnhutwork/Landingpage-Photo-Retouch

Generate developer handoff specs from a design. Use when a design is ready for engineering and needs a spec sheet covering layout, design tokens, component props, interaction states, responsive breakpoints, edge cases, and animation details.

tmnhutwork/Landingpage-Photo-Retouch

Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

tmnhutwork/Landingpage-Photo-Retouch

Synthesize user research into themes, insights, and recommendations. Use when you have interview transcripts, survey results, usability test notes, support tickets, or NPS responses that need to be distilled into patterns, user segments, and prioritized next steps.

tmnhutwork/Landingpage-Photo-Retouch

Plan, conduct, and synthesize user research. Trigger with "user research plan", "interview guide", "usability test", "survey design", "research questions", or when the user needs help with any aspect of understanding their users through research.

tmnhutwork/Landingpage-Photo-Retouch

Write or review UX copy — microcopy, error messages, empty states, CTAs. Trigger with "write copy for", "what should this button say?", "review this error message", or when naming a CTA, wording a confirmation dialog, filling an empty state, or writing onboarding text.

tmnhutwork/Landingpage-Photo-Retouch

Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

tmnhutwork/Landingpage-Photo-Retouch

Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.

tmnhutwork/Landingpage-Photo-Retouch

Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.

tmnhutwork/Landingpage-Photo-Retouch

Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

tmnhutwork/Landingpage-Photo-Retouch

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.

tmnhutwork/Landingpage-Photo-Retouch

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.

tmnhutwork/Landingpage-Photo-Retouch

Create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.

tmnhutwork/Landingpage-Photo-Retouch

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

tmnhutwork/Landingpage-Photo-Retouch

UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 79 searchable styles (50 active), 192 product palettes and reasoning profiles, 74 font pairings, 119 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.

相关技能