A standalone form label, for layouts Field doesn't cover: a label beside its control, one label for several controls, or a custom control. Connect it with htmlFor, or give it an id and point the control's aria-labelledby at it.
htmlFor
id
aria-labelledby
<Label htmlFor="email" required>Email</Label><Input id="email" type="email" required /> Copy
<Label htmlFor="email" required>Email</Label><Input id="email" type="email" required />
A standalone form label, for layouts Field doesn't cover: a label beside its control, one label for several controls, or a custom control. Connect it with
htmlFor, or give it anidand point the control'saria-labelledbyat it.