w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
179 stars 48 forks source link

Update allowances for aria-checked on inputs #361

Closed scottaohara closed 2 years ago

scottaohara commented 2 years ago

Presently we say that authors SHOULD NOT use aria-checked on radios and checkboxes.

After discussing https://github.com/w3c/aria/issues/1622 in today's ARIA WG meeting, and the problems that using aria-checked on native checkboxes can have - particularly due to aria-che3cked=mixed and bugs that exist now with Chromium browsers where input type=checkbox checked aria-checked=false will expose 'false' even though the control is actually 'checked', this rule needs to be updated to MUST NOT.