accessibility-check
Evaluate accessibility and WCAG compliance of UI components and pages. Use when the user asks to "check accessibility", "audit a11y", "WCAG review", "screen reader test", or needs to verify inclusive design practices.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o accessibility-check.zip https://jpskill.com/download/18265.zip && unzip -o accessibility-check.zip && rm accessibility-check.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18265.zip -OutFile "$d\accessibility-check.zip"; Expand-Archive "$d\accessibility-check.zip" -DestinationPath $d -Force; ri "$d\accessibility-check.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
accessibility-check.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
accessibility-checkフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Accessibility Check Skill
すべてのユーザーに対してインクルーシブなデザインを保証するために、UIのアクセシビリティを WCAG 2.1 ガイドラインに照らして評価します。
活用場面
- 新機能のリリース前
- 既存のインターフェースの監査
- コンポーネントライブラリのレビュー
- 法令遵守の確認
- ユーザーのインクルージョン改善
WCAG 2.1 チェックリスト
レベル A (最低限)
知覚可能
- [ ] 1.1.1 非テキストコンテンツ: 画像に代替テキストがある
- [ ] 1.3.1 情報と関係性: セマンティックな HTML 構造
- [ ] 1.3.2 意味のある順序: 論理的な読み上げ順序
- [ ] 1.4.1 色の使用: 色のみが指標になっていない
操作可能
- [ ] 2.1.1 キーボード: すべての機能がキーボードで操作可能
- [ ] 2.1.2 キーボードトラップなし: 移動可能
- [ ] 2.4.1 ブロックのバイパス: コンテンツへのスキップリンク
- [ ] 2.4.2 ページタイトル: 説明的なページタイトル
- [ ] 2.4.3 フォーカス順序: 論理的なタブ順序
- [ ] 2.4.4 リンクの目的: リンクが遷移先を説明している
理解可能
- [ ] 3.1.1 ページの言語:
lang属性が設定されている - [ ] 3.2.1 フォーカス時: 予期しない変更がない
- [ ] 3.2.2 入力時: 予期しない変更がない
- [ ] 3.3.1 エラーの特定: エラーが明確に説明されている
- [ ] 3.3.2 ラベル: フォーム入力にラベルがある
堅牢性
- [ ] 4.1.1 構文解析: 有効な HTML
- [ ] 4.1.2 名前、役割、値: ARIA が正しく使用されている
レベル AA (標準目標)
知覚可能
- [ ] 1.4.3 コントラスト (最低限): テキストに対して 4.5:1
- [ ] 1.4.4 テキストのリサイズ: 200% ズームで可読
- [ ] 1.4.5 テキスト画像: 可能な限り避ける
操作可能
- [ ] 2.4.5 複数の手段: 複数のナビゲーションパス
- [ ] 2.4.6 見出しとラベル: 説明的な見出し
- [ ] 2.4.7 フォーカスの可視性: 明確なフォーカスインジケーター
理解可能
- [ ] 3.2.3 一貫したナビゲーション: 同じナビゲーション位置
- [ ] 3.2.4 一貫した識別: 同じアイコン/ラベル
- [ ] 3.3.3 エラーの提案: 修正を提案
- [ ] 3.3.4 エラーの防止: 破壊的なアクションを確認
テスト方法
1. 自動テスト
# axe-core を Playwright 経由で使用
npx playwright test --grep accessibility
# pa11y を使用
npx pa11y http://localhost:5176
2. 手動キーボードテスト
- ページ全体を Tab キーで移動
- フォーカスの可視性を確認
- Enter/Space キーの有効性をテスト
- Escape キーでモーダルが閉じるか確認
- メニュー内で矢印キーナビゲーションを検証
3. スクリーンリーダーテスト
- VoiceOver (Mac) でテスト
- NVDA (Windows) でテスト
- アナウンスが意味をなしているか検証
- フォームラベルの関連付けを確認
4. 視覚テスト
- カラーコントラスト比を確認
- 200% ズームでテスト
- 色なしで検証
- 動きの軽減を確認
出力形式
## アクセシビリティ監査: [Component/Page]
### コンプライアンス概要
- **目標レベル**: WCAG 2.1 AA
- **現在のステータス**: [Pass / Partial / Fail]
- **重大な問題**: [count]
- **警告**: [count]
### 発見された問題
#### 重大 (修正必須)
| Criterion | Issue | Location | Fix |
|-----------|-------|----------|-----|
| 1.4.3 | 低コントラスト | ボタンテキスト | 4.5:1 に上げる |
#### 警告 (修正推奨)
| Criterion | Issue | Location | Fix |
|-----------|-------|----------|-----|
### 合格基準
- [合格した基準のリスト]
### テストノート
- キーボード: [Pass/Fail + notes]
- スクリーンリーダー: [Pass/Fail + notes]
- カラーコントラスト: [Pass/Fail + notes]
### 推奨事項
1. [コード例を含む優先度の高い修正]
一般的な修正
代替テキストの欠落
// 悪い例
<img src="logo.png" />
// 良い例
<img src="logo.png" alt="LogiDocs Certify logo" />
フォームラベルの欠落
// 悪い例
<input type="email" placeholder="Email" />
// 良い例
<label htmlFor="email">Email</label>
<input id="email" type="email" />
低コントラストの修正
/* 悪い例: 2.5:1 の比率 */
.button { color: #999; background: #fff; }
/* 良い例: 4.5:1 以上の比率 */
.button { color: #595959; background: #fff; }
フォーカスインジケーター
/* 可視フォーカスを確保 */
:focus {
outline: 2px solid #16a34a;
outline-offset: 2px;
}
連携
以下との連携が最適です。
- アクセシビリティのコンテキストのための
ux-expertエージェント - より広範な評価のための
ux-auditスキル - 自動テストのための Playwright
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Accessibility Check Skill
Evaluate UI accessibility against WCAG 2.1 guidelines to ensure inclusive design for all users.
When to Use
- Before releasing new features
- Auditing existing interfaces
- Reviewing component libraries
- Ensuring legal compliance
- Improving user inclusivity
WCAG 2.1 Checklist
Level A (Minimum)
Perceivable
- [ ] 1.1.1 Non-text Content: Images have alt text
- [ ] 1.3.1 Info and Relationships: Semantic HTML structure
- [ ] 1.3.2 Meaningful Sequence: Logical reading order
- [ ] 1.4.1 Use of Color: Color not sole indicator
Operable
- [ ] 2.1.1 Keyboard: All functionality via keyboard
- [ ] 2.1.2 No Keyboard Trap: Can navigate away
- [ ] 2.4.1 Bypass Blocks: Skip to content link
- [ ] 2.4.2 Page Titled: Descriptive page titles
- [ ] 2.4.3 Focus Order: Logical tab sequence
- [ ] 2.4.4 Link Purpose: Links describe destination
Understandable
- [ ] 3.1.1 Language of Page:
langattribute set - [ ] 3.2.1 On Focus: No unexpected changes
- [ ] 3.2.2 On Input: No unexpected changes
- [ ] 3.3.1 Error Identification: Errors clearly described
- [ ] 3.3.2 Labels: Form inputs have labels
Robust
- [ ] 4.1.1 Parsing: Valid HTML
- [ ] 4.1.2 Name, Role, Value: ARIA correctly used
Level AA (Standard Target)
Perceivable
- [ ] 1.4.3 Contrast (Minimum): 4.5:1 for text
- [ ] 1.4.4 Resize Text: Readable at 200% zoom
- [ ] 1.4.5 Images of Text: Avoid where possible
Operable
- [ ] 2.4.5 Multiple Ways: Multiple navigation paths
- [ ] 2.4.6 Headings and Labels: Descriptive headings
- [ ] 2.4.7 Focus Visible: Clear focus indicators
Understandable
- [ ] 3.2.3 Consistent Navigation: Same nav location
- [ ] 3.2.4 Consistent Identification: Same icons/labels
- [ ] 3.3.3 Error Suggestion: Suggest corrections
- [ ] 3.3.4 Error Prevention: Confirm destructive actions
Testing Methods
1. Automated Testing
# Using axe-core via Playwright
npx playwright test --grep accessibility
# Using pa11y
npx pa11y http://localhost:5176
2. Manual Keyboard Testing
- Tab through entire page
- Verify focus visibility
- Test Enter/Space activation
- Check Escape closes modals
- Verify arrow key navigation in menus
3. Screen Reader Testing
- Test with VoiceOver (Mac)
- Test with NVDA (Windows)
- Verify announcements make sense
- Check form label associations
4. Visual Testing
- Check color contrast ratios
- Test at 200% zoom
- Verify without color
- Check reduced motion
Output Format
## Accessibility Audit: [Component/Page]
### Compliance Summary
- **Target Level**: WCAG 2.1 AA
- **Current Status**: [Pass / Partial / Fail]
- **Critical Issues**: [count]
- **Warnings**: [count]
### Issues Found
#### Critical (Must Fix)
| Criterion | Issue | Location | Fix |
|-----------|-------|----------|-----|
| 1.4.3 | Low contrast | Button text | Increase to 4.5:1 |
#### Warnings (Should Fix)
| Criterion | Issue | Location | Fix |
|-----------|-------|----------|-----|
### Passing Criteria
- [List of criteria that pass]
### Testing Notes
- Keyboard: [Pass/Fail + notes]
- Screen Reader: [Pass/Fail + notes]
- Color Contrast: [Pass/Fail + notes]
### Recommendations
1. [Priority fix with code example]
Common Fixes
Missing Alt Text
// Bad
<img src="logo.png" />
// Good
<img src="logo.png" alt="LogiDocs Certify logo" />
Missing Form Labels
// Bad
<input type="email" placeholder="Email" />
// Good
<label htmlFor="email">Email</label>
<input id="email" type="email" />
Low Contrast Fix
/* Bad: 2.5:1 ratio */
.button { color: #999; background: #fff; }
/* Good: 4.5:1+ ratio */
.button { color: #595959; background: #fff; }
Focus Indicator
/* Ensure visible focus */
:focus {
outline: 2px solid #16a34a;
outline-offset: 2px;
}
Integration
Works best with:
ux-expertagent for accessibility contextux-auditskill for broader evaluation- Playwright for automated testing