-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More impactful duplicate ID check option #163
Comments
Test for reference could be done through
|
Rather than creating separate rules, we talked about using the data object in the check to provide additional data for severity. We'd have to make a change in axe-core to update the impact based on that data object. |
When we bury the information in the check or in the data, it makes it difficult for users to figure out what is going on whereas a different rule gives us a prominent help message with-which to communicate. For this reason, we decided a while back to separate out rules rather than embedding different failures into a single rule. Additionally, we can turn complete rules off and on, whereas issues buried in data cannot be turned off and on. There is an art to this, but my vote would be to separate these out into separate rules for both of those reasons. |
It's a trade-off–users might also be confused as to why there are multiple multiple-ID rules. I think we'll have to play with it to see what works best. |
Duplicate IDs are only an accessibility issue under two conditions:
Change the duplicate ID test, to have an option that will cause it to only report on interactive elements (testing the entire DOM to see whether there are references to an element is too slow)
The text was updated successfully, but these errors were encountered: