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

Ref: https://github.com/carbon-design-system/carbon/pull/11908
This commit is contained in:
metonym 2022-08-10 07:44:08 -07:00 committed by GitHub
commit 4fd08cd25c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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