Page should contain a level-one heading
Rule
page-has-heading-one· Structure & semantics · impact moderate · Static + live
Why it matters
The h1 names the page’s primary topic and anchors the heading outline. Pages without one are harder to orient within.
How to fix
Add one <h1> (or role="heading" aria-level="1") describing the page’s main content.
Example
<body><h2>Welcome</h2></body>
<body><h1>Welcome</h1></body>
WCAG success criteria
1.3.1 Info and Relationships — Level A
Structure and relationships conveyed visually (headings, lists, tables, labels, groups) must also be available programmatically.
Standards
This rule contributes to the following standards:
WCAG A EN 301 549 Best practice
| Standard | Criteria |
|---|---|
| EN 301 549 | 9.1.3.1 |