Elliott Marquez 89f03273b4 docs(checkbox): match example code to include touch targets
PiperOrigin-RevId: 557601532
2023-08-16 14:23:22 -07:00

14 lines
431 B
HTML

<div class="figure-wrapper">
<figure
style="justify-content: center; align-items: center"
aria-label="Two checkboxes with labels"
>
<label style="display: flex; align-items: center">
<md-checkbox touch-target="wrapper"></md-checkbox>
Checkbox one
</label>
<md-checkbox id="checkbox-two" touch-target="wrapper"></md-checkbox>
<label for="checkbox-two">Checkbox two</label>
</figure>
</div>