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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    varunk130がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ai Accessibility Audit」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAi Accessibility Auditを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ai Accessibility Auditは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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スキル「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.

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 Accessibility Auditを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ai Accessibility Auditで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAi Accessibility Auditを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ai Accessibility Audit」は無料ですか?

はい。varunk130がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇