Skip to content

Commit 825a163

Browse files
Totaticrisbeto
authored andcommitted
docs(cdk/listbox): fix a11y of example (#26014)
Fixes #26003 (cherry picked from commit c9b1b42)
1 parent 6e40e97 commit 825a163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components-examples/cdk/listbox/cdk-listbox-disabled/cdk-listbox-disabled-example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<form>
22
<p>
3-
<input type="checkbox" [formControl]="canDrinkCtrl">&nbsp;
4-
<label>I am 21 or older</label>
3+
<input type="checkbox" id="can-drink" [formControl]="canDrinkCtrl">&nbsp;
4+
<label for="can-drink">I am 21 or older</label>
55
</p>
66
<section>
77
<div class="example-listbox-container" [class.example-disabled]="!canDrinkCtrl.value">

0 commit comments

Comments
 (0)