fix(inline-checkbox): remove aria-checked="mixed" if indeterminate

Ref: https://github.com/carbon-design-system/carbon/pull/11908
This commit is contained in:
metonym 2022-08-10 07:40:12 -07:00
commit d0b347527d

View file

@ -27,7 +27,7 @@
indeterminate="{indeterminate}" indeterminate="{indeterminate}"
id="{id}" id="{id}"
{...$$restProps} {...$$restProps}
aria-checked="{indeterminate ? 'mixed' : checked}" aria-checked="{indeterminate ? undefined : checked}"
on:change on:change
/> />
<label <label