headings-sibling-unique

⌘K
  1. Home
  2. SiteLint
  3. Accessibility Rules
  4. headings-sibling-unique

headings-sibling-unique

Print this article

Description

This rule verifies if the accessible names of sibling heading elements on 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? No Yes

    How can we help?