Accessibilityのロゴ

Accessibility

コミュニティ
flitzrrr
accessibility

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

概要

公開者flitzrrr
リポジトリfrontend-design-skills
スキル名accessibility
スター
9
フォーク
2
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Accessibility

Accessible web interfaces are mandatory -- legally, ethically, and commercially.

Scope

Use this skill when: You are auditing HTML structure and semantics, setting ARIA attributes, implementing keyboard navigation, checking contrasts, designing accessible forms, making media accessible, ensuring BFSG compliance, or auditing existing interfaces for accessibility.

Principles

1. Accessibility Is a Baseline Requirement -- Not a Special Feature

Accessible design benefits EVERYONE. Situational limitations (sunlight, noisy environments, one hand occupied) affect everyone.

2. From the Start -- Not Retrofitted

Retrofitting is 10x more expensive and 10x worse. Accessibility belongs in every phase: concept, design, development, testing.

3. The Four POUR Principles Are Mandatory

Perceivable, Operable, Understandable, Robust.

4. Technology and Design Must Work Together

Not just a developer concern (HTML) and not just a design concern (contrast). Both disciplines in sync.

5. Legal Obligation (BFSG Effective June 28, 2025)

The German Accessibility Reinforcement Act (BFSG) requires many companies to provide digital accessibility. It is not optional.

Rules

Semantic HTML

  • DO: Use native elements for their purpose: <button> for actions, <a> for navigation, <nav>, <main>, <article>.
  • DO: Maintain a logical heading hierarchy: exactly one <h1> per page. Do not skip levels.
  • DO: Use landmark elements: <header>, <nav>, <main>, <aside>, <footer>.
  • DON'T: Use <div> or <span> for interactive elements. <div onclick> is NOT a button.
  • DON'T: Misuse headings for styling.

ARIA Attributes

  • DO: Use ARIA only when no native HTML element fulfills the purpose.
  • DO: Add aria-label to interactive elements without visible text (icon buttons).
  • DO: Use aria-live="polite" for dynamic content (toast notifications).
  • DO: Use role="alert" for error messages.
  • DON'T: Overload elements with ARIA. Redundant ARIA does harm.
  • DON'T: Set aria-hidden="true" on visible, interactive elements.

Keyboard Navigation

  • DO: Make ALL interactive elements reachable via keyboard (Tab, Enter, Space, Escape, Arrow keys).
  • DO: Provide a visible focus indicator: min. 3:1 contrast, 2-3px outline.
  • DO: Implement focus trap in modals.
  • DO: Include a skip-to-content link as the first focusable element.
  • DO: Ensure tab order matches the visual reading order. Use tabindex only with values 0 or -1.
  • DON'T: Use tabindex > 0 (breaks natural order).
  • DON'T: Set outline: none without an adequate replacement.

Contrast & Colors

  • DO: Normal text: min. 4.5:1 (WCAG AA).
  • DO: Large text (>= 24px / >= 18.66px bold): min. 3:1.
  • DO: UI components: min. 3:1.
  • DO: NEVER use color as the only signal. Always provide a second signal: text, icon, pattern.
  • DO: Test for color vision deficiency (Chrome DevTools > Rendering > Emulate vision deficiencies).
  • DON'T: Rely on red-green distinctions for critical information (8% of male users affected).

Images & Media

  • DO: Informative images: descriptive alt text (content, not appearance).
  • DO: Decorative images: alt="" (empty alt text).
  • DO: Videos with captions. Audio with transcripts.
  • DO: Make animations pausable. Respect prefers-reduced-motion in CSS.
  • DON'T: Use flashing content (> 3 flashes/second can trigger seizures).

Forms

  • DO: Associate every field with a visible <label> via for/id.
  • DO: Required fields: text + aria-required="true".
  • DO: Error messages directly at the field + aria-describedby.
  • DO: Use autocomplete attributes on standard fields.
  • DON'T: Use placeholder as a label replacement.
  • DON'T: Use CAPTCHAs without an accessible alternative.

Responsive & Touch

  • DO: Touch targets min. 44x44px (WCAG), preferably 48x48px.
  • DO: Spacing between targets min. 8px.
  • DO: Support zoom up to 200% without loss of functionality.
  • DON'T: Block zooming (user-scalable=no, maximum-scale=1).

Motion & Animation

  • DO: Respect prefers-reduced-motion. Reduce or remove animations.
  • DO: Make automatic motion (carousels, videos) pausable.
  • DON'T: Use parallax or large motion effects without a prefers-reduced-motion fallback.

Detailed pattern descriptions and code examples: see references/patterns.md

Patterns

Skip Navigation

First focusable link: "Skip to content." Visually hidden, visible on focus. Links to <main>.

Accessible Modal

role="dialog" + aria-modal="true" + aria-labelledby. Focus trap. Escape closes. Focus returns to the trigger.

Error Summary

Error summary at the top of the form with links to affected fields. role="alert". Additionally inline errors.

Accessible Accordion

<button> as trigger with aria-expanded. Content with aria-labelledby. Arrow keys for navigation.

Anti-Patterns

Div Soup

Everything built from <div> and <span>. Solution: Use native HTML elements.

Invisible Focus Indicator

outline: none without replacement. Solution: Visible focus styles with min. 3:1 contrast.

Placeholder as Label

Fields without <label>. Solution: Always use a visible label. Placeholder only as supplementary.

Auto-Playing Media

Autoplay with sound. Solution: Start only on user action. Autoplay only muted with pause option.

ARIA Overload

role="button" on a <button>. Solution: Prefer native HTML. ARIA only as a last resort.

Zoom Blocking

maximum-scale=1 in the viewport meta tag. Solution: Viewport without zoom restrictions.

Checklist

Structure & Semantics

  • Exactly one <h1> per page?
  • Heading hierarchy without gaps?
  • Landmark elements present?
  • Skip-to-content link present?
  • No interactive <div> / <span> elements?

Contrast & Colors

  • Normal text min. 4.5:1?
  • Large text min. 3:1?
  • UI components min. 3:1?
  • Color never used as the only signal?
  • Color vision deficiency tested?

Keyboard & Interaction

  • Everything reachable via keyboard?
  • Visible focus indicator?
  • Focus trap in modals?
  • Tab order = visual order?
  • No tabindex > 0?

Images & Media

  • Informative images with alt text?
  • Decorative images with alt=""?
  • Videos with captions?
  • prefers-reduced-motion respected?

Forms

  • Every field with a visible <label>?
  • Required fields marked + aria-required?
  • Inline errors with aria-describedby?
  • No placeholder as label?

Mobile & Responsive

  • Touch targets min. 44x44px?
  • Zoom up to 200% possible?

Legal

  • BFSG relevance assessed?
  • WCAG 2.1 AA as the minimum standard?
  • Accessibility statement present?

Cross-References

  • ui-design -- Accessible UI components and states
  • web-typography -- Readable font sizes and contrast requirements
  • color-theory -- WCAG contrast requirements, color vision deficiency
  • usability -- Overlap between accessibility and usability
  • responsive-design -- Touch targets, zoom, mobile screen readers
  • navigation-design -- Keyboard navigation, skip links, landmarks

同梱ファイル

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

よくある質問

AIスキル「Accessibility」では何ができますか?

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

TypingMindでAccessibilityを使うメリットは何ですか?

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

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

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

Accessibilityを使えるAIモデルはどれですか?

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

Accessibilityは何個のAIモデルで使えますか?

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

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

はい。flitzrrrがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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