Skip to content

Commit 79e3f0a

Browse files
committed
.
1 parent 55d01f8 commit 79e3f0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/checkbox/checkbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[indeterminate]="indeterminate"
1414
[attr.aria-label]="ariaLabel"
1515
[attr.aria-labelledby]="ariaLabelledby"
16-
[attr.aria-checked]="getAriaChecked()"
16+
[attr.aria-checked]="_getAriaChecked()"
1717
(change)="_onInteractionEvent($event)"
1818
(click)="_onInputClick($event)">
1919
<div matRipple class="mat-checkbox-ripple"

src/lib/checkbox/checkbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export class MatCheckbox extends _MatCheckboxMixinBase implements ControlValueAc
303303
this._changeDetectorRef.markForCheck();
304304
}
305305

306-
getAriaChecked(): string {
306+
_getAriaChecked(): 'true'|'false'|'mixed' {
307307
return this.checked ? 'true' : (this.indeterminate ? 'mixed' : 'false');
308308
}
309309

0 commit comments

Comments
 (0)