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

aria-tooltip-name

できること

このスキルは、ツールチップの要素に名前があるか、説明する要素と関連付けられているかを確認します。ボタン、アイコン、フォーム項目にヒントを表示する開発者向けです。

使う場面

  • ✓tooltipロールを持つツールチップを作っているとき。
  • ✓ツールチップのヒントが、スクリーンリーダーに一度も読み上げられないとき。
  • ✓共有のツールチップコンポーネントをアクセシビリティの観点でレビューしているとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“情報アイコンにフォーカスしたとき、そのツールチップがスクリーンリーダーで読み上げられるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、各ツールチップに名前があるか、またはトリガーからaria-describedbyで参照されているかを確認し、関連付けられていないツールチップを修正します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Provide accessible names for tooltips

Tooltips often contain essential information; if they aren't properly named or associated with an element, that information remains hidden from screen reader users.

Quick Reference

  • Tooltips must have an accessible name or be referenced by aria-describedby
  • Ensure the tooltip content is actually accessible to assistive technology
  • Verify that tooltips are correctly associated with their trigger elements

Check

Verify that all elements with role="tooltip" have an accessible name or are linked to a trigger element via aria-describedby.

Fix

Assign an accessible name to the tooltip or ensure it is correctly referenced by the element it describes.

Explain

Explain how to correctly associate tooltips with triggers so that screen readers announce the extra information.

Code Review

Review the rendered markup and interactive states that affect Provide accessible names for tooltips. 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-tooltip-name

よくある質問

スクリーンリーダーは、ツールチップをどう使いますか?

正しく関連付けられていれば、トリガーにある補足情報を読み上げられると、このスキルは説明しています。

ここでaria-describedbyは何に使われますか?

トリガーとツールチップを関連付け、操作部品と一緒にその文章を読めるようにするためです。

このスキルは、ツールチップの名前と関連付けだけを確認しますか?

はい。開き方ではなく、名前と関連付けに焦点を当てています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for tooltips. 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
ランキング
#2740
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル