Heading Structure
Heading structure is the way headings and subheadings are used to organize the content of a web page or document, much like the outline of an essay or a table of contents. A main heading introduces the overall topic, and subheadings break the content into sections and smaller details, helping all users understand how information is organized.
Heading structure refers to the semantic use of ranked heading elements (in HTML, the <h1> through <h6> elements, where <h1> is the highest level and <h6> the lowest) to convey the hierarchical organization of a page or document. Headings should be nested by rank so that the most important heading is rank 1 and subordinate sections use progressively lower ranks, forming a logical outline. Properly coded headings expose this structure programmatically, enabling assistive technologies such as screen readers to navigate content by heading level. Note that visually styling text to look like a heading, without using the appropriate semantic markup, does not create accessible heading structure.
Why it matters
Heading structure is one of the primary ways assistive technology users navigate content. Screen readers commonly allow users to jump directly from heading to heading, or to a specific heading level, effectively using the heading outline as a table of contents. When headings are properly ranked and nested, this navigation reflects the true organization of the page; when they are missing, skipped, or applied only as visual styling, that navigational map breaks down and users may be forced to read or tab through content linearly to find what they need.
A logical heading hierarchy also benefits users who do not rely on assistive technology. Clear headings and subheadings help all readers scan a page, understand how sections relate, and locate relevant information more quickly. Because visually styling text to look like a heading does not create the underlying semantic structure, content that appears well-organized to a sighted user can still be effectively unstructured for someone using a screen reader.
Heading structure relates to established accessibility guidance on information relationships and navigability, and it is commonly evaluated in accessibility reviews. This entry describes the general purpose and mechanics of heading structure and is not legal advice; specific conformance obligations depend on the standards, regulations, and jurisdiction that apply to a given organization, and readers should consult qualified counsel or current agency guidance for compliance questions.
Who it's relevant to
Inside Heading Structure
Common questions
Answers to the questions practitioners most commonly ask about Heading Structure.