Issue number: resolves Internal
What is the current behavior?
We are not ever explicitly setting aria-checked. For checked and unchecked states (i.e. true and false for aria-checked), we don't need to set aria-checked because an input with a type of 'checkbox' has built-in semantics making aria-checked redundant.
However, when the checkbox is in an indeterminate state, aria-checked should have a value of 'mixed'. We are not currently ever setting it to 'mixed'. See MDN for more details.
What is the new behavior?
- The checkbox's
aria-checkedhas a value of 'true' when it is checked - The checkbox's
aria-checkedhas a value of 'false' when it is unchecked - The checkbox's
aria-checkedhas a value of 'mixed' when it is indeterminate
Does this introduce a breaking change?
- Yes
- No