SiteLint

  1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. headings-sibling-unique

headings-sibling-unique

Print this article

Description

This rule verifies if the accessible names of sibling heading elements of the same level are unique.

Context

If section headings that share the same parent heading are not unique, users of assistive technologies will not be able to discern the differences among sibling sections of the web page.

This rule checks 1 case:

  1. Sibling headings accessible names must be unique.

Incorrect example

<h2>Example</h2>

<h2>Example</h2>

Correct example

<h2>Example 1</h2>

<h2>Example 2</h2>

Standard

Accessibility, 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