Closed monicahung closed 3 years ago
The ARIA specification states that the aria-checked attribute needs to be specified if using the switch role.
https://www.w3.org/TR/wai-aria-1.2/#switch
Hi, sorry for the very late response.
Doing without aria-checked has worked fine with the screen readers I've tried but this couldn't hurt.
aria-checked
I'll merge this. It will be released in the upcoming 6.0.0 release.
The ARIA specification states that the aria-checked attribute needs to be specified if using the switch role.
https://www.w3.org/TR/wai-aria-1.2/#switch