IDs of active elements must be unique
What is the problem?
The "duplicate-id-active" rule ensures that each ID attribute value is used only once on focusable elements within a document.
Impacted Groups
Why is this important?
Screen reader users rely on unique IDs to identify and navigate to specific elements. If multiple elements share the same ID, screen readers may become confused and fail to accurately convey the information to the user. This can make it difficult or impossible for users to access and understand the content.
How to solve this issue
To fix this issue, make sure that each focusable element on the page has a unique ID. This can be achieved by using a consistent naming convention for IDs or by generating unique IDs automatically. By ensuring unique IDs, you can improve the accessibility of your website for screen reader users.
Rule Information
Rule ID
duplicate-id-active
Severity
Manual Review Required
Rule Group
Deprecated Rules
Guidelines
- Not applicable
Customise Guidance
You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.
Enable your website editors to resolve issues quickly with SiteAlly.
Ready to make your website accessible?
SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.