Ai A11y Toolkitのロゴ

Ai A11y Toolkit

コミュニティ
danarandall
ai-a11y-toolkit

WCAG 2.2 Level AA rules for designing and building digital experiences. Load this before generating, editing, or reviewing any user interface: screens and components in Figma, HTML and CSS, React or other component frameworks, Figma Make apps, and generated copy or alt text. Also load it when asked about contrast ratios, focus behavior, keyboard operation, alt text, heading structure, target size, reduced motion, form errors, live regions, reflow at 200 percent zoom, or whether a design system makes a product accessible.

概要

公開者danarandall
リポジトリai-a11y-toolkit
スキル名ai-a11y-toolkit
スター
3
フォーク
0
同梱ファイル
13
ライセンスCC-BY-4.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 13個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/danarandall/ai-a11y-toolkit/tree/main/skills/ai-a11y-toolkit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danarandall/ai-a11y-toolkit.git /tmp/ai-a11y-toolkit
mkdir -p .claude/skills
cp -r /tmp/ai-a11y-toolkit/skills/ai-a11y-toolkit .claude/skills/ai-a11y-toolkit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AI A11y Toolkit

WCAG 2.2 Level AA rules for humans and AI agents building digital experiences.

Written by Dana Randall. Licensed CC BY 4.0, free to use commercially, adapt, and redistribute, with attribution. Current release and feedback: https://danarandall.com/ai-a11y-toolkit

How to use this skill

Apply the non-negotiables below to everything you produce. They are short because they are always on.

Then load the reference for the work in front of you. Do not load all of them.

Working onLoad
Screens, components, or a design file in Figmareferences/design.md
Choosing or checking colorsreferences/color.md
Animation, video, carousels, target size, zoom, reflowreferences/motion-media-targets.md
Images, icons, charts, illustrationsreferences/alt-text.md
Copy, labels, error text, generated contentreferences/content-and-language.md
HTML and CSSreferences/html-css.md
React or another component frameworkreferences/react.md
Testing, scanning, deciding whether it is donereferences/testing.md
Looking up a specific success criterionreferences/wcag-reference.md
Debugging a defect you just producedreferences/failure-patterns.md
Starting a project and setting its contextreferences/project-configuration.md

Before generating any interface code, load references/agent-directives.md. It is the full always and never list in directive form, and it is longer and more specific than the summary below.

The non-negotiables

These thirteen rules prevent most real-world accessibility failures. They apply to every role, every framework, every deliverable.

  1. Semantics before ARIA. Use the native HTML element that already has the right role and behavior. <button>, <a href>, <input>, <select>, <nav>, <table>. Only reach for ARIA when no native element exists. The first rule of ARIA is not to use ARIA.
  2. Everything works with a keyboard alone. Every interactive element is reachable by Tab, operable by Enter or Space, and escapable. No keyboard traps. (2.1.1, 2.1.2)
  3. Focus is always visible. Never remove focus indicators. Never write outline: none without a replacement of equal or better visibility. Focus must not be hidden behind sticky headers, footers, or overlays. (2.4.7, 2.4.11)
  4. Every control has an accessible name. Icon-only buttons, form fields, links, and inputs all need programmatic names. A visible <label> is preferred. If the control has visible text, the accessible name must include that text. (4.1.2, 3.3.2, 2.5.3)
  5. Every non-decorative image has meaningful, informative alt text. Decorative images get alt="". Never leave alt off entirely. Never use a filename, an internal SKU, or a color code. (1.1.1)
  6. Text contrast is at least 4.5:1. Large text, meaning 24px regular or 18.66px bold and above, may go to 3:1. UI components, icons, borders, focus rings, and chart elements need 3:1. (1.4.3, 1.4.11)
  7. Color is never the only signal. Errors, states, required fields, availability, chart series, and links inside text blocks all need a second cue: text, icon, underline, shape, or pattern. (1.4.1)
  8. Heading structure is logical and unskipped. One <h1> per page, descending order, no levels used for visual size. (1.3.1, 2.4.6)
  9. Text reflows at 200% zoom and 320px CSS width with nothing cut off, truncated, or covered. No fixed pixel heights on text containers, no sticky element covering content at large text sizes. (1.4.4, 1.4.10, 1.4.12)
  10. Motion is user-controlled by default. Honor prefers-reduced-motion automatically. Anything that auto-plays, auto-advances, moves, or scrolls for more than five seconds needs a persistent pause, stop, or hide control. Nothing flashes more than three times per second. (2.2.2, 2.3.1)
  11. Errors are identified in text, next to the field, and describe the fix. Not just a red border. Associate the message programmatically with the input. (3.3.1, 3.3.3)
  12. Interactive targets are at least 44x44 CSS pixels. 24x24 is the WCAG AA floor and only passes with adequate spacing. 44x44 is the house standard because it is what actually works for tremor, low vision, switch access, and one-handed mobile use. (2.5.8)
  13. Dynamic changes are announced. Validation, filter results, cart totals, toasts, and loading states need a live region or focus management. Silent updates do not exist for screen reader users. (4.1.3)

Working in Figma

A design file settles fewer criteria than most people expect. Measured against WCAG 2.2 A and AA, a Figma design kit determines 3 of 55 criteria, influences 14, and cannot affect the remaining 38. At Level A specifically it determines none of the 31.

The three it settles are text contrast, non-text contrast, and target size. Those are exactly the three worth getting right in the file, because they are cheap to fix in design and expensive to fix later.

This is a statement about a static file, not about design as a practice. Reading order, focus order, heading levels, error copy, alternative text, and state design are all decided during design work and then implemented in code. Deciding them early is what prevents rework. Annotate them in the file so they survive handoff. references/design.md covers how.

Never state or imply that using a design system makes a product accessible. It settles a small number of criteria and leaves the rest open.

Verification

Report what you implemented and what still needs human and screen reader testing. references/testing.md has the loop.

Never assert that generated output is accessible or compliant. Never suppress, ignore, or baseline a finding to make a scan pass. Automated checks find a minority of real barriers, so a clean scan is a starting point rather than a result.

When a request conflicts with these rules

Say so, name the criterion, and offer the closest option that satisfies it. Choose the more conservative, more semantic option when uncertain. Flag the ambiguity rather than guessing.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ai A11y Toolkit」では何ができますか?

WCAG 2.2 Level AA rules for designing and building digital experiences. Load this before generating, editing, or reviewing any user interface: screens and components in Figma, HTML and CSS, React or other component frameworks, Figma Make apps, and generated copy or alt text. Also load it when asked about contrast ratios, focus behavior, keyboard operation, alt text, heading structure, target size, reduced motion, form errors, live regions, reflow at 200 percent zoom, or whether a design system makes a product accessible.

TypingMindでAi A11y Toolkitを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ai A11y Toolkitはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAi A11y Toolkitをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/danarandall/ai-a11y-toolkit/tree/main/skills/ai-a11y-toolkitを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ai A11y Toolkitを使えるAIモデルはどれですか?

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

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

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

AIスキル「Ai A11y Toolkit」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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