Headings — Accessibility Specification

WCAG 2.1 AA • AODA compliant • Updated 2025-10-28


What is this component?

What is this component? Headings (<h1><h6>) provide the document outline and help users (and AT) understand and navigate page structure.

Where and how is it used? Use headings to introduce sections; one logical <h1> per page view; descend levels without skipping for clarity.

Accessibility Requirements

RequirementWCAG CriteriaDescription
Semantic structure1.3.1Use headings to convey hierarchy; avoid styling non‑heading elements to appear as headings.
Meaningful text2.4.6Provide descriptive headings that summarize content that follows.
Navigation2.4.1Headings enable quick navigation for AT; ensure order reflects content structure.

ARIA Roles and Attributes

ARIA Role/AttributeUsed OnPurpose & Usage
<h1…h6>Section headingsPreferred for native semantics.
role="heading" aria-level="N"Non‑semantic elementUse only when native headings cannot be used.

Implementation Guidelines


Page Title

Section

Subsection

DO’s

Don’ts

Common Pitfalls

Testing Checklist

Test ItemWCAG CriteriaPass Criteria
Outline order1.3.1Headings form a logical hierarchy (h1→h2→h3…).
Descriptive text2.4.6Each heading describes its section meaningfully.
AT navigation2.4.1Screen readers can list and jump to headings.