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:
- 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