1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. h1-must-be


Print this article


This rule verifies if there is defined heading h1 on the page.


Most content on web pages should be organized into sections. When pages are organized into sections, a heading should be present. All pages should at least have one <h1> level heading giving the title of the page.

This rule checks 1 case:

  1. Determine if there is at least 1 element <h1>

Note: the rule does not check if the content of <h1> is empty.

How to fix it

The rule passes when there is at least 1 <h1> element.


Best Practices

Was this article helpful to you? Yes No
SiteLint Audits: Monitoring in real-time Accessibility, Performance, Privacy, Security, SEO, Runtime Errors and Console Logs