-
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
fix(commons/aria): allow aria-required on radio and checkbox roles #629
fix(commons/aria): allow aria-required on radio and checkbox roles #629
Conversation
I think we should have this for |
I wasn‘t sure if you wanted it for checkbox. Happy to add it. Not sure how to add the tests though. Care to put me on the right track? |
Have a look at some of these: |
I run through these files. I’m not sure what kind of test you would like for allowing Do you test all allowed attributes somewhere maybe? |
We're not testing every attribute, no. But we are adding tests for every PR so that we can prevent regression on new issues. On second thought, maybe adding it as an integration tests is better: https://github.com/dequelabs/axe-core/blob/develop/test/integration/rules/aria-allowed-attr/passes.html Does that help? |
I just committed something that I thought could be useful. Is it enough or would you like me to check integration tests as well? Edit: I’m going to add integration tests as well. |
…dio and checkbox roles
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.
Looks good to me. There was one comment from Dylan in the original issue. @dylanb Any objections to doing this?
This pull-request closes #540.