News for hackers. Stuff that matters.
Re:An HTML Switch Control by Izkata on Thursday February 29, 2024 @09:32AM (#39549758)
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>
Re:An HTML Switch Control by extra88 on Saturday March 09, 2024 @11:26AM (#39652716)
That's totally valid HTML. Unfortunately, voice control software (Dragon NaturallySpeaking, macOS's feature) doesn't recognize the relationship unless it's explicit.