accessibility-engineer
セマンティックHTML/JSXとWAI-ARIAを「最小で正しく」適用し、キーボード操作・スクリーンリーダ・コントラスト等を満たす実装を作るための判断軸。ネイティブ要素優先、ARIAの過剰使用を避ける。
Best use case
accessibility-engineer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
セマンティックHTML/JSXとWAI-ARIAを「最小で正しく」適用し、キーボード操作・スクリーンリーダ・コントラスト等を満たす実装を作るための判断軸。ネイティブ要素優先、ARIAの過剰使用を避ける。
Teams using accessibility-engineer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/accessibility-engineer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How accessibility-engineer Compares
| Feature / Agent | accessibility-engineer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
セマンティックHTML/JSXとWAI-ARIAを「最小で正しく」適用し、キーボード操作・スクリーンリーダ・コントラスト等を満たす実装を作るための判断軸。ネイティブ要素優先、ARIAの過剰使用を避ける。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Accessibility Engineer Skill ## 発火条件(適用タイミング) - 依頼が「アクセシビリティ対応」「WAI-ARIA」「スクリーンリーダ対応」「セマンティックHTML」「キーボード操作」「フォーカス管理」なら適用する。 - UI実装(`/design-ui` / `/design-assemble` / フロント実装)に入るときは、原則このskillを併用する。 ## このSkillの基本方針(最重要) - **ネイティブ要素優先**: まず正しいHTML要素(`button` / `a` / `label` / `input` 等)で解決する。ARIAは最後の手段。 - **ARIAは最小**: `role`/`aria-*` を足して“それっぽく”しない。要件があるときだけ付ける。 - **操作できる=伝わる**: 見た目だけでなく、支援技術に「状態・名前・目的」が伝わることをDoDにする。 - **キーボードが基準**: マウスだけで成立するUIは未完成。フォーカス移動と操作を先に設計する。 ## 実装ルール(チェック項目) ### 1) セマンティック構造 - 見出しは順序を守る(`h1`→`h2`…)。見た目のために見出しを飛ばさない。 - 主要領域はランドマークを作る(`header`/`nav`/`main`/`footer`、必要なら `aside`)。 - リストは `ul/ol/li`、定義は `dl/dt/dd` を使う(`div` で代替しない)。 ### 2) “名前”の付け方(Accessible Name) - ボタン/リンク/入力は「名前」が必要(スクリーンリーダが読み上げるラベル)。 - 優先: **可視テキスト** - 次点: `aria-label`(可視テキストを置けない場合) - 併用: `aria-labelledby`(既存要素を参照して名前を構成する場合) - アイコンだけのボタン/リンクは必ず名前を付ける(例: 検索/閉じる)。 ### 3) フォーム(必須) - `label` と `input` を関連付ける(`for`/`id`)。プレースホルダをラベル代わりにしない。 - 必須/任意、エラー、ヒントを機械可読で伝える(例: `aria-describedby` で補助文を紐付け)。 - エラーは「どこが・なぜ・どう直す」が分かる文言にする。 ### 4) 状態と通知(動的UI) - `disabled` はネイティブ属性を優先(`button disabled` 等)。 - トグルは `aria-pressed` / `aria-expanded` など要件に合う属性で状態を表す(ネイティブ要素で足りない場合のみ)。 - 非同期の完了/失敗などは必要に応じて `aria-live` を使う(乱用しない)。 ### 5) キーボード操作とフォーカス - タブ移動が論理順になるようにDOM順を設計する(`tabindex` で無理矢理並べ替えない)。 - `tabindex="0"` は「フォーカス可能にする」最小用途でのみ。`tabindex="-1"` は「プログラム的にフォーカス移動したい」時のみ。 - フォーカス可視(`focus-visible`)を必ず担保する(消さない)。 - ダイアログ/モーダルは開閉時のフォーカス移動・戻し先を定義する(フォーカストラップが必要な場合は実装する)。 ### 6) 画像/メディア - 画像は目的に応じて `alt` を付ける(装飾なら空 `alt=""`)。 - 動画/音声は操作(再生/停止)と代替(字幕/テキスト)要件を確認する(不明なら短問)。 ## “やってはいけない”典型 - `div` に `onClick` を付けてボタン扱い(キーボード/役割が崩れる)。 - `role="button"` で誤魔化す(ネイティブの `button` を使う)。 - 何でも `aria-label` を付ける(可視ラベルがあるのに重複して読み上げ事故になる)。 - フォーカスリングを消す(見えないフォーカスは操作不能)。 ## 短問テンプレ(不足情報を推測しない) - このUIはキーボードだけで完了できる必要がある?(必須なら操作手順を列挙して合意する) - モーダル/ドロワーの「開いた直後のフォーカス先」「閉じた後の戻し先」はどこ? - エラーは即時?送信後?どのタイミングで読み上げる? - 動画/音声に字幕や代替テキストは必要? ## 出力フォーマット(実装時) 1. セマンティック構造(ランドマーク/見出し/リスト) 2. キーボード操作(Tab順/Enter/Space/Escape) 3. ARIA適用(必要箇所だけ。理由付き) 4. 状態(disabled/loading/error)と通知(必要なら aria-live) 5. a11yチェック項目の自己判定(OK/要対応)
Related Skills
adk-engineer
Execute software engineer specializing in creating production-ready ADK agents with best practices, code structure, testing, and deployment automation. Use when asked to "build ADK agent", "create agent code", or "engineer ADK application". Trigger with relevant phrases based on skill purpose.
accessibility
Build WCAG 2.1 AA compliant websites with semantic HTML, proper ARIA, focus management, and screen reader support. Includes color contrast (4.5:1 text), keyboard navigation, form labels, and live regions. Use when implementing accessible interfaces, fixing screen reader issues, keyboard navigation, or troubleshooting "focus outline missing", "aria-label required", "insufficient contrast".
accessibility-wcag
Build accessible web applications following WCAG 2.1/2.2 guidelines with proper semantic HTML, ARIA attributes, keyboard navigation, screen reader support, and inclusive design. Use when implementing ARIA labels and roles, ensuring keyboard navigation, supporting screen readers, providing text alternatives for images, managing focus, creating accessible forms, building inclusive UI components, testing with accessibility tools, meeting WCAG compliance levels, or designing for users with disabilities.
accessibility-validation
Validate digital outputs for compliance with accessibility standards (e.g., WCAG, Section 508). Use when reviewing reports, dashboards, documents, or interfaces from pilot projects to identify and remediate accessibility barriers.
accessibility-ux-audit
Audit and enhance accessibility and UX across all pages and components.
accessibility-testing
WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.
accessibility-tester
Expert accessibility tester specializing in WCAG compliance, inclusive design, and universal access. Masters screen reader compatibility, keyboard navigation, and assistive technology integration with focus on creating barrier-free digital experiences.
accessibility-test-axe
Эксперт по a11y тестированию. Используй для axe-core, automated testing и accessibility audits.
accessibility-standards
Implement WCAG 2.1 accessibility standards for Vue 3 apps. Use when adding ARIA labels, keyboard navigation, screen reader support, or checking color contrast. Mentions "accessibility", "ARIA", "keyboard nav", "screen reader", or "color contrast".
accessibility-rules
Concise accessibility checklist and practices for components in the repository. Use when implementing UI to ensure keyboard, screen reader, and focus semantics.
accessibility-review
Reviews UI for accessibility issues against WCAG 2.1/2.2 AA. Triggers on "is this accessible?", "check accessibility", or contrast/a11y review requests.
accessibility-report
Generate accessibility compliance reports including VPAT and ACR documents