Last modified: 2014-10-29 21:47:24 UTC
(Migrated from http://etherpad.wikimedia.org/p/OOUIPHP) Use <label> for LabelElement to make clicking on labels work without JavaScript * Where are you at with this? We really only have 2 options, generate arbitrary IDs (if no ID is set on the input) and use the for attribute on the label, or wrap the input with the label ** We probably can't change the HTML structure entirely everywhere… generating random IDs seems reasonable enough to me. ** Trevor says he wants to make FieldsetLayout a <label> with a LabelElement mixin <span> inside. That also sounds reasonable for the most common use case.
Change 169218 had a related patch set uploaded by Bartosz Dziewoński: Turn FieldLayout into a <label/> https://gerrit.wikimedia.org/r/169218
Change 169218 merged by jenkins-bot: Turn FieldLayout into a <label/> https://gerrit.wikimedia.org/r/169218