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

semantic-lists

できること

このスキルは、メニュー、特徴、手順、用語集の項目など、関連する項目のグループがdivで作られていないかを確認し、適切なリストのマークアップに切り替えます。支援技術に内容を理解してもらいたい制作者向けです。

使う場面

  • ✓ページ上の関連する項目のグループがどうマークアップされているか確認するようエージェントに頼むとき。
  • ✓メニュー、手順、特徴の一覧がリストに見えるdivで作られているとき。
  • ✓用語集やFAQのように、用語と説明の組を正しくマークアップする必要があるとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサイトの特徴の一覧と手順は、普通のdivで作られています。それらを適切なリスト要素に変更してください。”

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

仕組み

エージェントは、関連する項目のグループを見つけ、順序のないリストにはul、番号付きの手順にはol、用語と説明の組にはdlで囲みます。その中に対応するli、dt、dd要素を追加します。

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

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

Use semantic list elements

Screen readers announce list structure and item count—'list with 5 items'—helping users understand content organization. Styled divs provide no context.

Quick Reference

  • Use <ul> for unordered lists (navigation, features, bullets)
  • Use <ol> for ordered sequences (steps, rankings, instructions)
  • Use <dl> for term-definition pairs (glossaries, FAQs)
  • Screen readers announce 'list with X items' for proper lists

Check

Identify groups of related items (navigation menus, product features, steps) and verify they use ul, ol, or dl elements rather than divs or spans styled to look like lists.

Fix

Wrap related items in appropriate list elements: ul for unordered lists, ol for numbered sequences, dl for term-definition pairs. Use li for list items and proper dt/dd for definition lists.

Explain

Explain how screen readers announce 'list with X items' to help users understand content structure, and why styled divs provide no semantic information about grouped content.

Code Review

Review the rendered markup and interactive states that affect Use semantic list 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/semantic-lists

よくある質問

スクリーンリーダーは本物のリストをどう読み上げますか?

このスキルによると、「5項目のリスト」のように読み上げ、利用者が内容を理解するのに役立ちます。

olとulはどう使い分けますか?

順番が重要な手順やランキング、説明にはolを使い、それ以外のグループにはulを使います。

この変更でリストの見た目は変わりますか?

スタイルがdivに依存していた場合は変わることがあるため、変更後にレイアウトを確認すべきです。

詳細

作者による元の説明

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

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

0

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

コメント

  • …

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

似ているスキル