-
Notifications
You must be signed in to change notification settings - Fork 54
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 new behavior of pa11y-ci #2399
Fix new behavior of pa11y-ci #2399
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks @MewenLeHo for tackling this issue! LGTM.
I've just added a migration note for it. This PR will be double-checked by the a11y core team and good to merge 🚀
I wanted to be sure that this solution is ok before writing the migration note but ok for me. disabled But it seems that pa11y-ci needs the |
Hmm OK, I thought the change was justified even without taking into account pa11y-ci which can be wrong here. |
according to html specifications and the result in the accessible tree, Pa11y is wrong, u don't need disabled attribut on child input of a fieldset tag disabled |
Thanks a lot @Aniort |
It may be worth it to submit this edge case to pa11y-ci: https://github.com/pa11y/pa11y-ci/issues |
Yep, @MewenLeHo. We'd need to dig where it comes from exactly in the middle of all the tools: pa11y-ci, pa11y, aXe, etc. |
Related issues
Closes #2386
Description
Aria-hidden elements must not contain focusable elements (https://dequeuniversity.com/rules/axe/4.0/aria-hidden-focus).
Even if the fieldset was disabled, all focusable fields inside it must be properly disabled too.
Motivation & Context
Fix pa11y-ci and improve accessibility of the project.
Types of change
Live previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)
After the merge