Headings

Headings are used to name sections and provide structure to webpages. Correct heading levels helps users to understand the content structure of a webpage.

Screenshot of a website with headings highlighted
Figure 1 Example of a webpage displaying different heading levels like H1, H2, H3 and H4

NOTE:

  • New to accessibility or uncertain of requirements, it will be helpful to review all sections below.
  • Already familiar with requirements, skip to the “Working Example” section for sample HTML, CSS and JavaScript (when needed), along with a working demo.