Headings and accessible H1 text
Fix empty or misleading main headings and missing accessible names before polishing length. Prioritise shared heading components used across important page types.
What the findings mean
The checks identify missing or multiple H1 elements, short or long headings, selected keywords, identical title/H1 wording and an H1 without readable text or a supported text alternative in fetched HTML. The check labelled “Headings contain HTML tags” in the English interface flags an H3–H6 before the first H2. Its implemented test concerns heading order; inline markup alone does not trigger that test. These observations support a review of structure and meaning.
What the evidence cannot establish
Several H1 elements, a title that matches the H1, or inline markup are not automatically errors. The H1-name check is a limited HTML inspection, not a complete accessibility audit: CSS, shadow DOM and later JavaScript can affect the browser’s actual accessible name.
How to prioritise
Fix empty or misleading main headings and missing accessible names before polishing length. Prioritise shared heading components used across important page types.
What to do
- Read the headings in order. Give the page a clear subject and use heading levels for the content hierarchy, with CSS controlling their appearance.
- Correct empty or confusing headings and accidental hidden duplicates. Keep useful wording even when its length differs from a general recommendation.
- Prefer ordinary text for the H1. If an image carries its meaning, give it a matching text alternative; decorative images can remain empty when readable heading text is already present.
- If aria-label or aria-labelledby supplies a name, verify it in the browser accessibility tree and make referenced IDs unambiguous. A description is not a replacement for a name.
Check the result
Check the published heading order and accessible names on representative pages. Test direct loading and app navigation where relevant. Confirm that the headings communicate the intended sections rather than merely reducing a count.
Need help with a particular finding?
Contact us →