Heading is empty
| Field | Value |
|---|---|
| Rule code | Heading_Name_Empty |
| WCAG conformance level | A |
| WCAG success criterion | 1.3.1 Info and Relationships |
| Must be fixed at source | No |
Description
Headings provide informative structure to a page and are often navigated by assistive technology users. All headings should be concise and descriptive, otherwise the page information layout can be confusing or create gaps in the understanding of the headings and their purpose. We found a heading that had no text content or accessible name.
How to fix
All headings need to have a label. You can use plain text, or an image with appropriate alt text.
<h1>Contact us</h1>
<h1><img src="contact.svg" alt="Contact us"></h1>