3 ms·
If you nest the input and label you can get rid of "for" and "id": <label>light<input type=radio name=theme value=l></label>
by Izkata 3y ago
If you nest the input and label you can get rid of "for" and "id":
<label>light<input type=radio name=theme value=l></label>
- extra88 3y agoThat's totally valid HTML. Unfortunately, voice control software (Dragon NaturallySpeaking, macOS's feature) doesn't recognize the relationship unless it's explicit.