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

definition-list

できること

このスキルは、用語集や用語のリストなど、Webページの定義リストを確認します。正しくアクセシブルなHTMLを求める開発者向けです。

使う場面

  • ✓ページに、用語とその説明のリストがあるとき。
  • ✓用語集や製品の仕様の一覧が、スクリーンリーダーで不自然に読まれるとき。
  • ✓ページのHTMLの構造をレビューしているとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“スクリーンリーダー向けに、私の用語と定義のリストが正しく作られているか確認してください。”

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

仕組み

エージェントは、定義リストのタグの中を確認し、そこには用語と説明の項目、または許可されたラッパーだけがあるようにします。位置の誤った要素は修正します。

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

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

Use correct definition list structure

Broken list structures confuse assistive technologies, preventing users from understanding the relationship between terms and their definitions.

Quick Reference

  • Ensure <dl> contains only <dt>, <dd>, or <script>/<template> tags
  • Avoid wrapping list items in invalid container elements like <div>
  • Maintain semantic relationships between terms and descriptions

Check

Verify that all <dl> elements contain only valid child elements (dt, dd, or allowed wrappers).

Fix

Remove any invalid elements from within the <dl> or wrap them appropriately to maintain semantic integrity.

Explain

Explain how proper definition list structure helps screen readers navigate and group related information.

Code Review

Review the rendered markup and interactive states that affect Use correct definition list structure. 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/definition-list

よくある質問

定義リストとは何ですか?

用語とその説明からなるHTMLのリストで、用語集や詳細の一覧によく使われます。

構造が重要なのは、なぜですか?

正しい構造があると、スクリーンリーダーが各用語を説明と一緒にまとめて読めるからです。

修正が正しいことは、どう確認できますか?

ブラウザのアクセシビリティツールでテストすることを、このスキルは提案しています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use correct definition list structure. 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
ランキング
#2813
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル