-
Notifications
You must be signed in to change notification settings - Fork 794
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(standards): add superclassRole to ariaRoles #2600
Conversation
Added superclassRole attributes as an array of strings per WAI-ARIA 1.1 spec Closes issue 2151
|
Thanks for the pr. Would you be able to add the |
Sure thing! I'll make this update |
Added superclassRole attributes as an array of strings per WAI-ARIA 1.2 spec Closes issue 2151
Made the update. Is it correct to wait to squash these commits until merge to develop? |
Thanks! Yep, we'll squash the commit on our side so you don't have to worry about it. |
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 minor edits. Should be good to go after that.
lib/standards/aria-roles.js
Outdated
// Note: spec difference | ||
superclassRole: ['section'], |
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.
// Note: spec difference | |
superclassRole: ['section'], | |
superclassRole: ['section'], | |
// Note: spec difference |
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.
Resolved this with the latest push and a few more areas where I had done this
lib/standards/aria-roles.js
Outdated
}, | ||
none: { | ||
type: 'structure' | ||
type: 'structure', | ||
superclassRole: ['section'] |
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.
Should be the same as presentation
.
superclassRole: ['section'] | |
superclassRole: ['structure'] |
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.
Fixed
lib/standards/aria-roles.js
Outdated
}, | ||
roletype: { | ||
type: 'abstract' | ||
type: 'abstract', | ||
superclassRole: ['structure', 'widget', 'window'] |
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.
These are subclasses, not superclasses.
superclassRole: ['structure', 'widget', 'window'] | |
superclassRole: [] |
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.
Whoops. Thanks for the catch
lib/standards/aria-roles.js
Outdated
// Note: spec difference | ||
superclassRole: ['section'], |
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.
// Note: spec difference | |
superclassRole: ['section'], | |
superclassRole: ['section'], | |
// Note: spec difference |
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.
Fixed along with a few others I found
Fixed errors that were pointed out in the PR feedback Closes issue 2151
Thanks I've addressed all the feedback and pushed up a new commit. I wasn't sure if that was the preferred way or accepting change recommendation. |
@redgardner can you please click to sign the CLA. The link is https://cla-assistant.io/dequelabs/axe-core?pullRequest=2600 |
@WilcoFiers I have tried to sign the CLA in multiple browsers and windows. I've gotten confirmation that I've signed it, but I keep getting the pending CLA note. I've tried hitting the recheck as well. Is there something else to try? |
@redgardner I'm not sure what's going on with the CLA site. We've been having some issues. I'll take your message as confirmation you agree, and will merge the pull request. Thank you very much for this contribution! |
Thanks! Sorry for the hassle with the CLA stuff. I agree with the CLA. |
Added superclassRole attributes as an array of strings per WAI-ARIA 1.1 spec
Closes issue #2151
Added superclassRole to each aria-role per WAI-ARIA 1.1 spec
Closes issue:
Reviewer checks
Required fields, to be filled out by PR reviewer(s)