Skip to content

Commit 678d747

Browse files
committed
refactor(label): test removing fallback checkbox label
1 parent 24c1c18 commit 678d747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export class Checkbox implements ComponentInterface {
275275
aria-describedby={this.getHintTextID()}
276276
aria-invalid={this.getHintTextID() === this.errorTextId}
277277
aria-labelledby={hasLabelContent ? this.inputLabelId : null}
278-
aria-label={!hasLabelContent ? inheritedAttributes['aria-label'] || 'checkbox' : null}
278+
aria-label={inheritedAttributes['aria-label'] || null}
279279
aria-disabled={disabled ? 'true' : null}
280280
tabindex={disabled ? undefined : 0}
281281
onKeyDown={this.onKeyDown}

0 commit comments

Comments
 (0)