Better Accessibilityのロゴ

Better Accessibility

コミュニティ
hsynozdamar-byte
better-accessibility

UI accessibility to WCAG 2.2 AA: focus, keyboard, ARIA, forms, live regions, target sizes. Use when building interactive UI or auditing a screen or component.

概要

公開者hsynozdamar-byte
リポジトリclaude-skills-edited
スキル名better-accessibility
スター
63
フォーク
1
同梱ファイル
6
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 6個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Accessibility

Most accessibility is free if you use the platform: native elements bring keyboard support and roles, real labels announce themselves, and a focus ring is one CSS rule. When unsure, take the platform default over a custom rebuild, and remove ARIA rather than add it.

These are minimums, not style. Visual treatment (ring color, hit-area technique, motion) follows the project's design, but the floors below hold. Write fixes in the project's styling system and its existing primitives (Radix, Base UI, React Aria). Color measurement belongs to better-colors.

A review is two walks: keyboard only (every flow completes without a mouse), then screen reader (every control announces name, role and state).

Floors

  • Contrast (WCAG AA): text 4.5:1, large text (24px, or 18.5px bold) 3:1, UI components and focus indicators 3:1. Never color alone: pair status color with an icon, text or underline.
  • Targets: 24×24 CSS px minimum (WCAG 2.5.8), or a spacing exception: a 24px circle centered on each small target touches no other target. Aim for 44×44 on touch, 40×40 on desktop when density allows.
  • Focus: visible on every focusable element via :focus-visible. Prefer the browser ring plus outline-offset: 2px. A custom ring is at least a 2px solid perimeter, checked against every color it crosses. Never outline: none without a verified replacement.
  • Zoom: works at 200% and reflows at 320px wide without horizontal scroll (tables, maps, code scroll in their own box). Use min-height, not fixed height, on text containers. Never cap zoom in the viewport meta.
  • Names: every control has an accessible name; visible label text is part of it (WCAG 2.5.3: a "Send" button can't be aria-label="Submit message").

Rules that are commonly wrong

  • <button> for actions, <a href> for navigation (must support Cmd/Ctrl/middle-click). Never <div onClick>. A "button" that navigates is a styled <a>.
  • tabindex is only 0 or -1; positive values break page order. Composite widgets (tabs, menus, toolbars, radio groups) are one Tab stop with roving tabindex; arrows move within, Tab moves between.
  • A role is a promise of the full keyboard model. role="menu" on site nav is wrong; use <nav> with a list.
  • Modals: prefer native <dialog> with showModal(). Otherwise inert on the background, role="dialog", aria-modal="true", aria-labelledby. Focus inside on open (least destructive action for confirms), Escape closes, focus returns to the trigger. overscroll-behavior: contain.
  • aria-hidden="true" never on or above a focusable element. Decorative icons and layers get it; decorative layers over controls also need pointer-events: none.
  • Inputs: a <label> (placeholder is never a label), meaningful autocomplete, correct type/inputmode. Never block paste. Label and control share one hit target.
  • Errors: keep submit enabled and validate on submit. Failing field gets aria-invalid="true" and aria-describedby to inline error text; focus the first invalid field. While submitting, disable and show a spinner beside the original label.
  • Disabled: native disabled when truly unavailable. A tooltip on a disabled control never shows; use visible text beside it or aria-disabled="true" (then block activation in code and style it). Never both.
  • Announcements: if focus moves there, nothing extra. Field-specific: aria-describedby. Non-urgent (toasts, "Saved", counts): role="status", rendered empty before text arrives. Urgent untied errors only: role="alert". Never move focus to a toast.
  • Alt by purpose: decorative alt="" (present, empty); informative describes meaning; functional describes the action (alt="Search", not "magnifying glass"). Missing alt reads the file name.
  • Structure: one visible <main>, headings in an outline, a "Skip to content" link first when chrome precedes main, scroll-margin-top on anchor targets. SPA route change: update document.title, focus the new <h1> (tabindex="-1") or <main>.
  • Motion: opt in with @media (prefers-reduced-motion: no-preference). Under reduce, swap slides and scales for opacity, kill parallax and autoplay; keep spinners and instant state changes. Anything moving over 5 seconds needs a visible pause. Toasts with an action or error stay until dismissed.
  • Touch: gate hover styles with @media (hover: hover) so they don't latch after a tap.

References

Reporting

Severity: HIGH blocks a task, hides content from assistive tech, or is systemic; MEDIUM makes an interaction meaningfully harder; LOW is polish. One row per root cause, ordered by severity:

SeverityLocationBeforeAfterWhy

Mark checks you could not run as Not verified. End with Block if any HIGH remains, otherwise Approve. With nothing to report, say "No actionable accessibility findings".

同梱ファイル

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

よくある質問

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

UI accessibility to WCAG 2.2 AA: focus, keyboard, ARIA, forms, live regions, target sizes. Use when building interactive UI or auditing a screen or component.

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

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

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

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

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

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

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

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

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

hsynozdamar-byteがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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