Skip to content

Commit 4204f9a

Browse files
authored
docs(cdk/listbox): fix a11y of example
Fixes #26003
1 parent 44657e2 commit 4204f9a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

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

0 commit comments

Comments
 (0)