Skip to content

Commit 480f3da

Browse files
authored
Merge pull request #2632 from sant-santhiya/checkbox-ariaLabel
fix(checkbox): aria-label not valid for element label
2 parents 7fafb7c + d07c3b9 commit 480f3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkbox/checkbox.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class Checkbox implements ControlValueAccessor, AfterViewInit {
150150

151151
// TODO: drop the `_`
152152
// tslint:disable-next-line:no-input-rename
153-
@Input("ariaLabel") _ariaLabel = "";
153+
@Input("ariaLabel") _ariaLabel: string;
154154

155155
/**
156156
* Used to set the `aria-labelledby` attribute on the input element.

0 commit comments

Comments
 (0)