-
Notifications
You must be signed in to change notification settings - Fork 771
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
feat(rule): Adding landmark-is-unique rule #1394
feat(rule): Adding landmark-is-unique rule #1394
Conversation
Merge from deque/axe-core
…users/waabid/uniqueLandmarks2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not reviewed the tests yet in detail because there are more changes needed.
- we need an iframe test
- We need a shadowDOM test
- please address the comments
…abid/axe-core into users/waabid/uniqueLandmarks2
…mark-unique-matches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left inline comments, yet to review the tests.
@waabid @WilcoFiers how can I help move this PR along? |
I've addressed all comments; had some tests breaking but fixed those. Now the test build is broken due to a dependency I believe. |
Closing this as a duplicate of #1394 |
Whoops, I meant the other way around. |
Pr in working state, I believe changes were addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor points
Rule help for 3.3 required. |
The rule checks for whether rules are unique. The structure is:
matches + selectors: identify landmarks.
evaluate: passes all nodes and adds role/label data.
after: fails all landmarks that have duplicate roles and labels.
Linked issue: #866
Reviewer checks
Required fields, to be filled out by PR reviewer(s)