本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2730

aria-labels

できること

このスキルは、ページのすべての操作可能な要素に、明確で説明的な名前があるかを確認します。分かりにくいボタンをなくしたいWeb開発者向けです。

使う場面

  • ✓ページにアイコンのボタン、リンク、ウィジェットを追加するとき。
  • ✓「more」や「こちらをクリック」のような曖昧な言葉が使われているとき。
  • ✓基本的なアクセシブルな名前を、ページで監査しているとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-labels/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-labels/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2730
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル