diff --git a/checkbox/lib/checkbox.ts b/checkbox/lib/checkbox.ts index 43856dc963..7da237fbc9 100644 --- a/checkbox/lib/checkbox.ts +++ b/checkbox/lib/checkbox.ts @@ -154,6 +154,7 @@ export class Checkbox extends LitElement { id="input" aria-checked=${isIndeterminate ? 'mixed' : nothing} aria-label=${ariaLabel || nothing} + aria-invalid=${this.error || nothing} ?disabled=${this.disabled} .indeterminate=${this.indeterminate} .checked=${this.checked}