aria-labels
できること
このスキルは、ページのすべての操作可能な要素に、明確で説明的な名前があるかを確認します。分かりにくいボタンをなくしたいWeb開発者向けです。
使う場面
- ✓ページにアイコンのボタン、リンク、ウィジェットを追加するとき。
- ✓「more」や「こちらをクリック」のような曖昧な言葉が使われているとき。
- ✓基本的なアクセシブルな名前を、ページで監査しているとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-labels/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のダッシュボードを監査し、より良いラベルが必要なボタンやリンクを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、各操作にテキストの名前、aria-label、またはaria-labelledbyがあるかを確認し、不足している、または曖昧なものには、短く分かりやすい名前を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Provide accessible names for all interactive elements
Interactive elements are the core of web navigation; without names, they become 'mystery meat' that users cannot confidently interact with.
Quick Reference
- Buttons, links, and other controls must have a discernable name
- Names should be concise and describe the action or destination
- Avoid generic names like 'Click Here' or 'More'
Check
Audit all interactive elements (buttons, links, widgets) for missing or unhelpful accessible names.
Fix
Add descriptive text content or aria-label attributes to all interactive elements.
Explain
Explain how clear labels on interactive elements improve accessibility and general usability.
Code Review
Review the rendered markup and interactive states that affect Provide accessible names for all interactive elements. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/accessibility/aria-labels
よくある質問
操作部品に良い名前とは何ですか?
Moreのような一般的な言葉ではなく、操作や遷移先を説明する簡潔な名前です。
表示されているテキストを、名前として使えますか?
はい。説明的なテキストの内容は、アクセシブルな名前として使えます。
このスキルは、分かりにくい操作について、なぜ警告しますか?
名前がないと、利用者は推測しなければ、その操作が何をするか分からないためです。
詳細
作者による元の説明
Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for all interactive elements. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.
人気
- GitHubのスター
- 75k
- ランキング
- #2730
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。