Heading Hierarchy
見出しの階層
見出し階層は、ページセクションがどのように組み合わさっているかを示すために見出しレベルを使用します。
もう一つの例
医療ガイドでは、「喘息の管理」という見出しに h1 を使用します。診断と治療には h2 を使用し、薬の種類には h3 を使用します。カードのタイトルが小さく見えても、スクリーンリーダーはこのアウトラインに従います。
主な部分
- 01ページ見出し
- 02セクション見出し
- 03小見出し
以下の場合に使用します
ページ構造から h1–h6 を選択します。それぞれの見出しのサイズを個別にスタイル設定してください。
以下の場合は使用しないでください
フォントサイズだけのためにh1–h6を選ばないでください。事前設定スタイルを得るためだけにレベルを飛ばさないでください。
コードで使用する名前
h1 through h6 selected by section depth 出荷前に
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome:Complete the task with 見出しの階層 (Heading Hierarchy)。 User context:医療ガイドでは、「喘息の管理」という見出しに h1 を使用します。診断と治療には h2 を使用し、薬の種類には h3 を使用します。カードのタイトルが小さく見えても、スクリーンリーダーはこのアウトラインに従います。 Recommended pattern:見出しの階層 (Heading Hierarchy)。 Why it fits:ページ構造から h1–h6 を選択します。それぞれの見出しのサイズを個別にスタイル設定してください。 Do not use it when:フォントサイズだけのためにh1–h6を選ばないでください。事前設定スタイルを得るためだけにレベルを飛ばさないでください。 Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):この標準は、列挙された範囲のみを対象とします。視覚スタイル、製品の判断、またはVibularyの例は選びません。 Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
このリクエストを確認する
Review how 見出しの階層 (Heading Hierarchy) is used now. Definition: 見出し階層は、ページセクションがどのように組み合わさっているかを示すために見出しレベルを使用します。 Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.