Ai Accessibility Audit 标志

Ai Accessibility Audit

社区
varunk130
ai-accessibility-audit

WCAG 2.2 Level AA accessibility audit for AI product surfaces - color contrast, focus order, ARIA usage, keyboard navigation, motion/animation, reduced-motion respect, alt text, and form label association. Use when: accessibility audit, a11y review, WCAG audit, screen reader compliance, keyboard-only navigation, color contrast check, focus management, ARIA review, accessible AI UX.

概览

发布者varunk130
代码仓库ai-ux-skill-library
技能名称ai-accessibility-audit
星标数
3
复刻数
0
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

AI Accessibility Audit

Catch accessibility regressions in AI product surfaces before they ship - chat interfaces, agent dashboards, generated-content panels, streaming output regions, and consent / safety UI. WCAG 2.2 Level AA is the bar; the framework below operationalizes it for AI-specific patterns that the spec doesn't natively cover.

Core Principle

Accessibility is a property of the experience, not just the markup. An AI product can pass an axe-core scan and still be unusable for a screen-reader user if streaming output isn't announced, consent UI traps focus, or "regenerate" controls are unreachable from the keyboard. This skill audits both the static layer (DOM, contrast, semantics) and the AI-specific dynamic layer (live regions, latency, motion).


The CLEAR Audit Framework

LetterDimensionThe Question
CContrast & ColorDoes every text/icon/state meet 4.5:1 (or 3:1 for ≥18pt or non-text UI)? Is color the only signal anywhere?
LLogic of FocusCan a keyboard-only user reach every action in a sensible order, with a visible focus indicator and no traps?
EEquivalents for Non-TextDo images, charts, generated visuals, and audio have meaningful alternatives - including AI-generated content?
AAnnouncements & Live RegionsAre streaming outputs, status changes, and AI errors announced to assistive tech without spamming?
RRespect for User PreferencesDoes the product honor prefers-reduced-motion, prefers-color-scheme, OS-level font scaling, and reduced-data hints?

WCAG 2.2 AA Coverage Matrix

The skill produces findings against the success criteria most commonly violated in AI product surfaces:

Success CriterionWhat Gets CheckedAI-Specific Gotchas
1.1.1 Non-text ContentAlt text on every meaningful imageAI-generated images often ship with empty alt; charts rendered as <canvas> lack text equivalents
1.3.1 Info & RelationshipsHeadings, lists, landmarks, form labelsMarkdown rendered from LLM output frequently produces orphan headings (h3 without h2)
1.4.3 Contrast (Minimum)4.5:1 on all body text"Subtle" UI states (disabled, secondary, "thinking…") often dip below threshold
1.4.10 ReflowNo horizontal scroll at 320 CSS pxLong streaming code blocks and tables break this - needs horizontal-scroll container, not body scroll
1.4.11 Non-text Contrast3:1 for UI components, focus indicatorsCustom focus rings on dark backgrounds frequently fail
1.4.13 Content on Hover/FocusTooltips dismissible, hoverable, persistent"Why this answer?" popovers on AI citations often violate all three
2.1.1 KeyboardAll functionality keyboard-operableSend button, regenerate, stop-generation, copy-to-clipboard, model picker - audit each
2.1.2 No Keyboard TrapFocus can leave any componentModal consent gates and citation popovers frequently trap
2.4.3 Focus OrderLogical, predictable focus orderStreaming content insertion can shift focus or skip newly-rendered actions
2.4.7 Focus VisibleVisible indicator on every focused elementoutline: none with no replacement is the single most common failure
2.4.11 Focus Not Obscured (2.2 new)Focused element not hidden behind sticky UISticky composer bars often cover the focused message above
2.5.7 Dragging Movements (2.2 new)Single-pointer alternative for drag"Drag to reorder citations" patterns need keyboard alternative
2.5.8 Target Size (2.2 new)Interactive targets ≥24×24 CSS pxInline action chips inside chat bubbles routinely fail
3.2.6 Consistent Help (2.2 new)Help mechanisms consistently located"Report response" / feedback controls drift across surfaces
3.3.7 Redundant Entry (2.2 new)Don't make users re-type info in the same flowMulti-step agent setup flows commonly violate
3.3.8 Accessible Authentication (2.2 new)No cognitive function test for authAPI-key paste flows that disallow paste fail this
4.1.3 Status MessagesUse ARIA live regions for status without focus shiftStreaming AI output, "Thinking…", and error toasts must use aria-live="polite" (not assertive for streaming - it spams)

AI-Specific Patterns the Spec Doesn't Cover

These are the patterns that pass a generic scan but fail real users of AI products. The skill explicitly checks each:

PatternFailure ModeRecommended Fix
Streaming outputEach token announced individually → screen reader chaosWrap streaming region in aria-live="polite" and aria-atomic="false"; announce only on sentence boundaries or every N tokens
"Thinking…" indicatorsAnimated dots invisible to AT, or announced repeatedlySingle aria-live="polite" status text, not a loop; respect prefers-reduced-motion for the animation
Stop-generation controlOnly appears mid-stream and steals focusReserve a stable focusable slot; toggle aria-disabled, don't add/remove from DOM
Citation popoversOpen on hover only; trap focus when keyboard-openedOpen on focus or click; ESC closes and returns focus to trigger
Regenerate / variant carouselRight-arrow cycles, but not announcedUse role="region" + aria-label + aria-live on the active variant
Consent / safety modalsFirst-time modals trap focus before user understandsFocus headline (not first input); Esc closes only if the action is non-blocking
Generated imagesalt="" or alt="image"Caption with the user's prompt as a baseline; let users override
Voice / audio outputNo transcript; no captions on TTSAlways render the spoken text; offer scrubbable transcript
Color-coded confidenceRed/yellow/green badge with no textPair every color with a label or icon

Output

Save to outputs/a11y-audit-[surface]-[YYYY-MM-DD].md

The audit produces a prioritized issue list:

SeverityDefinitionExamples
CriticalBlocks a class of users from completing a core taskSend button unreachable by keyboard; modal traps focus; streaming output unannounced
SeriousSignificantly degrades the experience for assistive-tech usersFocus indicator removed; contrast 3.5:1 on body text; missing form labels
ModerateWorkaround exists but cognitive load is highConfusing focus order; redundant announcements; small touch targets
MinorPolish-level; doesn't block any taskDecorative icons exposed; non-essential heading-level skip

Every finding includes:

  • Where - selector, screenshot, or step-by-step reproduction
  • WCAG criterion - e.g., "2.4.7 Focus Visible (AA)"
  • Why - the user impact in one sentence
  • Fix - concrete code snippet or design change, not just "add ARIA"
  • Test - how to verify the fix (keyboard-only walk, NVDA/VoiceOver script, contrast number)

Process

Step 1: Scope the Audit

I'll ask:

"What surface am I auditing? (URL, route, component name, or screenshot.) What user flows must work end-to-end? (e.g., 'send a message and copy the response'.) Any known assistive-tech users I should optimize for?"

Step 2: Static Layer Pass (CLEAR - C, E)

Walk the rendered DOM and styles for contrast, semantics, alt text, landmarks, and headings. Produce findings against 1.x and 4.1.x criteria.

Step 3: Keyboard Layer Pass (CLEAR - L)

Tab through every focusable element from <body>. Note: focus visibility, focus order vs. visual order, focus traps, missing focus return after dismissals, and 2.2's new criteria (2.4.11, 2.5.7, 2.5.8).

Step 4: Dynamic / AI Layer Pass (CLEAR - A)

Trigger streaming output, errors, stop-generation, regenerate, citation popovers, and consent modals. Verify announcements (live regions), focus behavior on insertion, and motion respect.

Step 5: Preference Pass (CLEAR - R)

Confirm prefers-reduced-motion, prefers-color-scheme, font-size scaling to 200%, and zoom to 400% all degrade gracefully.

Step 6: Synthesize the Report

Group findings by severity, then by CLEAR dimension. Add a one-page "ship blockers" summary at the top (Critical + Serious only) so the team knows what must be fixed before release.

Step 7: Acceptance Tests

For each Critical and Serious finding, write a one-line acceptance test the team can paste into their PR template (e.g., "Tabbing from composer → send → response area works in this order; focus visible at every stop").


Tips

  1. Audit the flow, not just the page - a checkbox-clean page with a broken send-message flow is worse than a couple of contrast warnings on a perfect flow.
  2. Test with the OS, not just a browser extension - turn on VoiceOver / NVDA for at least one full task. Extensions don't catch announcement spam.
  3. Treat 2.2's new criteria as table stakes - 2.5.8 (target size) and 2.4.11 (focus not obscured) catch ~30% of real-world failures in chat UIs.
  4. Make accessibility part of the prompt - when generating UI from a model, include "WCAG 2.2 AA, visible focus, semantic HTML, aria-live for streaming" in the system prompt; it raises the floor measurably.

常见问题

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

WCAG 2.2 Level AA accessibility audit for AI product surfaces - color contrast, focus order, ARIA usage, keyboard navigation, motion/animation, reduced-motion respect, alt text, and form label association. Use when: accessibility audit, a11y review, WCAG audit, screen reader compliance, keyboard-only navigation, color contrast check, focus management, ARIA review, accessible AI UX.

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

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

如何在 TypingMind 中安装 Ai Accessibility Audit?

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

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

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

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

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

Ai Accessibility Audit AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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