Ux Accessibility Audit 标志

Ux Accessibility Audit

组织
Uxcel-Lab
ux-accessibility-audit

对设计稿、屏幕、组件或页面进行结构化的 WCAG 2.1 AA 无障碍审查。生成按优先级排序的问题清单,每项发现都注明违反的 WCAG 标准、严重程度(严重/较高/较低)以及具体的修复方法。适用于检查无障碍合规性,或在生成 UI 后进行验证。

Add to TypingMind

概览

发布者Uxcel-Lab
代码仓库product-skills
技能名称ux-accessibility-audit
星标数
35
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Uxcel-Lab 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ux Accessibility Audit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Uxcel-Lab/product-skills/tree/main/ux/audits/accessibility
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/audits/accessibility .claude/skills/ux-accessibility-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ux Accessibility Audit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ux Accessibility Audit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ux Accessibility Audit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Accessibility Audit Skill

How this skill behaves (read first)

This is an evaluative skill — it reviews existing work against a standard (WCAG), it doesn't generate UI. Flagging is safe, so it auto-runs and is designed to be called as a validation step by generative skills as well as invoked directly.

It owns the accessibility concern in this repo. Generative skills hand off to it (e.g. ux-login-signup, ux-pricing), and the heuristics audit (ux-heuristics-audit) deliberately defers contrast / keyboard / screen-reader specifics here rather than duplicating them. When invoked, do the full a11y pass; don't assume another skill covered it.

Scope discipline. When invoked directly (the user named this audit), review only this concern — don't pull in sibling audits. It runs alongside other lenses only when an orchestrator (ux-design-review) or a generative skill calls it under docs/orchestration-policy.md, where it sits in Tier B — offered (and narrowed to usage when a design system is in play). Explicit scope always wins.


What this skill changes vs. default behavior

By default, accessibility feedback tends to be partial and vague — a few obvious call-outs ("add alt text", "check contrast") with no standard, no severity, and no systematic sweep. This skill forces four things:

  1. Every finding cites the WCAG criterion and level it violates — not a vague suggestion.
  2. Every finding gets a severity based on how completely it blocks access — so the list is prioritized.
  3. Every finding has a concrete fix — the specific markup/design change.
  4. The audit is systematic — it sweeps all six categories below, so issues outside the obvious ones (focus order, heading hierarchy, table semantics, motion) actually get caught.

WCAG foundations

POUR principles — every audit item maps to one of these four:

  • Perceivable — content must be detectable via at least one sense (sight, hearing, etc.)
  • Operable — all interactions must work without a mouse (keyboard, switch, voice)
  • Understandable — content and UI must be clear and predictable
  • Robust — content must work across browsers, devices, and assistive technologies

Compliance levels:

  • Level A — bare minimum; missing these creates complete barriers (e.g. no alt text, no keyboard access).
  • Level AA — the legal standard most organizations must meet; the default target for every audit.
  • Level AAA — aspirational; apply selectively where it adds high value.

Default audit target: WCAG 2.1 Level AA.


Audit checklist

Work through every category — a partial sweep is the main way real issues get missed. Flag each violation with WCAG criterion, severity (see model below), and a fix.

1. Color & Contrast

CheckRequirementNotes
Normal text vs background≥ 4.5:1 (AA) / 7:1 (AAA)Applies to all text in UI: buttons, labels, cards, nav
Large text (≥ 18pt or ≥ 14pt bold)≥ 3:1
Icons (informational or interactive)≥ 3:1Decorative icons exempt
Input borders vs surrounding background≥ 3:1Including focus indicators
Text over images≥ 4.5:1 between text and the portion of image behind itUse semi-transparent overlay if needed
Selection statesSame ratios as regular text
Disabled elementsExempt from contrast rulesMust still be recognizable as inactive
Logo textExemptBut good practice to maintain contrast anyway
Color as sole differentiator❌ NeverAlways pair color with icon, pattern, label, or text
Stark contrast (pure black on white)DiscouragedUse #333 on #F8F8F8 — exceeds AA while reducing eye strain

Don't rely on color alone: error states need an icon + text, not just red. Charts need patterns or labels, not just color.


2. Typography & Text

CheckRequirement
Base body font size≥ 16px
Line length45–75 characters (including spaces)
Text alignmentFollows reading direction (LTR → left-align; RTL → right-align)
Headings visually distinctLarger size, bold weight, or color difference from body text
One <h1> per pagePage title only
Heading hierarchyNo skipped levels (h1 → h2 → h3, never h1 → h3)
Semantic heading tagsUse <h1>–<h6>, not styled <div> or <p>
LanguagePlain language, secondary-education reading level
Idioms & figures of speechAvoid — confuse screen readers and non-native speakers
TypefaceClear letterform distinctions (0 vs O, 1 vs l vs I); large x-height

3. Forms

CheckRequirement
Keyboard accessEvery field, dropdown, checkbox, radio, button navigable via Tab / Shift+Tab / Enter / arrows
Focus indicatorsVisible on every focused element — never remove browser default without replacing
LayoutSingle-column preferred; multi-column increases cognitive load and screen-reader confusion
Input boundariesVisible borders or backgrounds — never borderless inputs
LabelsOutside the field, not placeholder-only; min 16px; 4.5:1 contrast
Placeholder textSupplemental only — disappears on input, so never the sole label
AutocompleteImplement for name, email, phone, address, payment (HTML autocomplete attribute)
Error statesMultiple cues: icon + bold border + field-specific message. Never color alone
Error placementAdjacent to the offending field + aria-describedby linking field to error
Error summaryAt top of form on submit failure, with anchor links to each problem field
AuthenticationNo text-based CAPTCHA — use magic links, OTP, passkeys, or biometrics. Support paste in password fields
Mobile one-handed useCenter CTAs in lower-middle zone; avoid right-edge-only button placement

4. Links & Navigation

CheckRequirement
Link labelsDescriptive, specific — "Download pricing guide" not "Click here" or "Read more"
New-window linksWarn users in link text or aria-label: "opens in new tab"
File linksState type + size: "Annual Report (PDF, 2.5 MB)"
Raw URLs as link text❌ Never — screen readers read character by character
Link recognizabilityUnderline + color (not color alone)
Focus stateVisible, distinctive focus ring on every link and interactive element
href attributeRequired on all <a> tags — <div> with click handler is not a link
Voice/toneLink text should match the product's voice, but always prioritize clarity
Help linksConsistently placed (footer, header utility nav, or persistent help icon)

5. Images & Multimedia

CheckRequirement
Informational imagesalt attribute with meaningful description
Decorative imagesalt="" (null) — tells screen readers to skip
Images containing textAlt text = the exact text in the image
Autoplay❌ Disabled by default — user must initiate playback
Media controlsPlay/pause/stop/rewind/volume/mute/captions — keyboard accessible, sufficient size and contrast
Video captionsRequired for all pre-recorded video with audio
Audio transcriptsRequired for all audio-only content
Flashing/strobing content❌ No content flashing > 3 Hz or red flashing at any rate
Animations (GIF, SVG, CSS)No more than 5 light-dark stripe pairs; provide a way to pause/stop
IconsPair with text labels; informational icons need aria-label or title
Swipe gesturesSupport both directions or provide an alternate tap target

6. Tables & Lists

CheckRequirement
Data tablesUse <table> element — never use tables for layout
Table caption<caption> immediately after <table> opening tag
Header cells<th> with scope="col" or scope="row" — never empty
Complex tablesAvoid merged cells and multi-level headers; split into simpler tables if needed
Cell widthsUse % not px — allows browser reflow; never set cell height manually
ListsUse <ul>, <ol>, or <dl> appropriately — not styled <div> rows
Unordered listsFor items where order doesn't matter
Ordered listsFor sequential steps, rankings, instructions
Description lists<dl> / <dt> / <dd> for glossaries, FAQs, key-value metadata

Severity rating

Rate each finding by how completely it blocks access and which WCAG level it fails:

SeverityMeaning
CriticalBlocks access entirely for some users. Usually a Level A failure — no keyboard access, no alt text on informational images, missing captions, a keyboard trap. Fix before ship.
MajorSignificant friction; users can sometimes work around it but shouldn't have to. Usually a Level AA failure — contrast below 4.5:1, placeholder-as-label, color-only error states, missing focus indicators.
MinorNoticeable but low-impact, or a best-practice / AAA improvement — slightly short line length, stark pure-black text, a non-ideal but functional label.

When in doubt, rate by the user impact (does it block a task or merely add friction?), not by how easy the fix is.


Audit output format

## Accessibility Audit — [Component / Screen Name]
Context: [platform · WCAG target (default AA) · design or code]

### Critical (blocks access entirely)
- [Issue]: [what's wrong] → [fix] — WCAG [X.X.X]

### Major (significant friction)
- [Issue]: [what's wrong] → [fix] — WCAG [X.X.X]

### Minor (best practice / AAA)
- [Issue]: [what's wrong] → [fix] — WCAG [X.X.X]

### Passed ✓
- [what's already working]

Always end with a one-line summary stating the overall WCAG AA compliance status and the top fixes that would get it there.


How to run a good audit

  1. Establish context. Platform (web/mobile/native), target level (AA by default — only go AAA if asked), and whether you're auditing a design or live code (some checks, like keyboard order and aria-*, only apply to code).
  2. Sweep all six categories. The value of this skill over a default review is completeness — don't stop at contrast and alt text.
  3. Rate by barrier, not by effort. A one-line alt fix can still be Critical.
  4. Be specific in fixes. Give the exact change (markup, attribute, ratio, or design adjustment), not "make it accessible."
  5. Note tooling limits. Automated scanners catch only ~30–40% of issues — manual review of focus order, alt-text quality, and reading order still matters.

Recommended tools

For automated scanning (catches ~30–40% of issues):

  • WAVE (browser extension) — overlays visual indicators, references violated WCAG criteria
  • axe DevTools (Chrome extension) — accurate, dev-friendly; powered by axe-core
  • Google Lighthouse (Chrome DevTools → Lighthouse tab) — accessibility + SEO + performance in one pass

For contrast checking in design:

  • Able (Figma plugin) — contrast checker + color-blindness simulator
  • Stark (Figma / Sketch / Adobe XD) — contrast, vision simulator, focus order, alt-text annotations
  • WCAG Color Contrast Checker (Chrome extension) — real-time ratio checking in browser

For screen-reader testing:

  • VoiceOver (macOS/iOS, built-in) — navigate with VO + arrow keys
  • NV Access / NVDA (Windows, free) — most widely used Windows screen reader

For seizure risk:

  • PEAT (downloadable) — analyzes video/animation for photosensitive epilepsy triggers
  • Harding Test — online paid service for broadcast/video content

Common do/don't patterns

❌ Don't✅ Do
Use red text alone for errorsRed border + warning icon + descriptive message
<a>Click here</a><a>Download the onboarding guide (PDF, 1.2 MB)</a>
<img src="chart.png"> (no alt)<img src="chart.png" alt="Bar chart showing Q3 revenue by region">
Decorative image with alt text<img src="bg-swoosh.svg" alt="">
Pure black #000 on pure white #FFFDark grey #333 on off-white #F8F8F8
Placeholder as the only labelPersistent label above the field + optional placeholder
Jump from <h1> to <h3>Always use <h1> → <h2> → <h3> in order
Table for page layoutCSS Grid or Flexbox for layout; <table> for data only
Autoplay videoControls visible at top; user initiates playback
Color-only chart legendAdd patterns, shapes, or data labels alongside color
Report only the obvious issuesSweep all six categories; rate by barrier; cite the criterion

Source lessons (Uxcel)

常见问题

Ux Accessibility Audit AI 技能有什么作用?

对设计稿、屏幕、组件或页面进行结构化的 WCAG 2.1 AA 无障碍审查。生成按优先级排序的问题清单,每项发现都注明违反的 WCAG 标准、严重程度(严重/较高/较低)以及具体的修复方法。适用于检查无障碍合规性,或在生成 UI 后进行验证。

为什么在 TypingMind 中使用 Ux Accessibility Audit?

因为您只需安装一次,就能搭配任何模型使用。Ux Accessibility Audit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ux Accessibility Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Uxcel-Lab/product-skills/tree/main/ux/audits/accessibility。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ux Accessibility Audit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ux Accessibility Audit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ux Accessibility Audit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ux Accessibility Audit AI 技能免费吗?

是的。Uxcel-Lab 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇