equal-access
equal-access copied to clipboard
[BUG]: Checkbox with role=switch fails with/without aria-checked
Project
a11y checker
Browser
No response
Operating system
No response
Description
A checkbox with role="switch" and aria-checked returns an The ARIA attribute 'aria-checked' is not valid for the element <input> with ARIA role 'switch' error. see aat error page
but if we remove aria-checked, then we get the error An element with ARIA role 'switch' does not have the required ARIA attribute(s): 'aria-checked' see aat error
Steps to reproduce
Changes can be seen in this ibm-internal pull request https://github.ibm.com/w3ds/w3ds/pull/1937
Moving this into v6.2 Release Backlog. On Triage Shunguo pointed out that Marnie pulled this one into New Issues on the Project board.