Level One Heading Is Missing On The Page
| Field | Value |
|---|---|
| Rule code | Heading_H1_Missing |
| WCAG conformance level | AA |
| WCAG success criterion | 2.4.6 Headings and Labels |
| Must be fixed at source | No |
Description
An H1 was found to be missing from the page. Each page should have exactly one primary heading (level-one). An H1 can also be provided on the page through ARIA attributes and roles: role=heading and aria-level=1. An H1 tag should serve as the main title of the page and describe its overall purpose.
How to fix
All headings should follow an outline format. The page's first heading should be an <h1>. Sections under that should use an <h2>, subsections under each <h2> should use an <h3>, and so on. Don't skip heading levels, use them out of order, or use headings for text that isn't part of the page outline.
<h1>Chapter 3</h1>
…
<h2>Section 1</h2>
…
<h2>Section 2</h2>
…
<h3>Subsection A</h3>
<h3>Subsection B</h3>
…
<h2>Section 3</h2>
…