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

heading-order

できること

このスキルは、見出しが飛ばされていないか、例えばメインの見出しから、いきなり三段目の見出しに行っていないかを確認します。ページのテンプレートを作る開発者向けです。

使う場面

  • ✓テンプレートがメインの見出しの直後に、三段目の見出しを使っているとき。
  • ✓コンポーネントが、誤ったレベルで見出しを描画しているとき。
  • ✓公開前に、描画された HTML を確認するとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“見出しのレベルが飛ばされていないか、確認してもらえますか。”

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

仕組み

エージェントは、各見出しが前の見出しに続く順番になっているかを確認します。順番が飛んでいる箇所では、見出しを正しいレベルに変えることを提案します。

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

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

Maintain logical heading order

A logical heading structure allows screen reader users to navigate the page content efficiently and helps all users understand the relationship between different sections.

Quick Reference

  • Use heading levels (<h1>-<h6>) in sequential order
  • Do not skip heading levels (e.g., <h1> followed by <h3>)
  • Ensure the document structure is logical and hierarchical

Check

Check the heading structure of the page to ensure that heading levels are not skipped (e.g., check that an <h2> follows an <h1>).

Fix

Adjust the heading levels to ensure a correct hierarchy (e.g., change an <h3> to an <h2> if it follows an <h1>).

Explain

Explain how a consistent heading hierarchy aids navigation for screen reader users who rely on heading lists to understand page layout.

Code Review

Review the rendered markup and interactive states that affect Maintain logical heading order. 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/heading-order

よくある質問

見出しの順番はなぜ重要ですか?

スクリーンリーダーはレイアウトを説明するために見出しを使うため、一貫した順番がセクションのつながりを理解する助けになるからです。

見出しの階層の確認と同じですか?

互いに密接に関係しています。この確認は、描画された HTML で飛ばされたレベルに焦点を当てています。

見出しの文言も対象ですか?

このスキルはレベルに焦点を当てています。見出しの文言は、続く内容を説明しているかだけを確認します。

詳細

作者による元の説明

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

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

0

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

コメント

  • …

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

似ているスキル