“Wrapping the <label> around the <input> is fine, and is sufficient for conformance on its own, however adding explicit association with for
and id
is still necessary in practice.” —James Edwards
Quick Hit #17 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.