The accessible names of sibling heading elements of the same level are not unique
Description
Rule ID: headings-sibling-unique
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:
- 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