opened
mikeldn
username_0
Hi, 

Would it be possible/make sense to allow the binding of labels to inputs for accessibility ... I'm not sure, given the fact that the input is actually hidden if that would be the wrong approach or not?

Anyway, if it's possible, then something like:
<label for="cheese">Do you like cheese?</label>
<input type="checkbox" name="cheese" id="cheese">

as per: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

My suggestion is, that if you add an id tag your markup, it should get carried through into the <label for=""> attribute?

On that page, they also talk about implicit association between label & input, like this: 
<label>Do you like peas?
  <input type="checkbox" name="peas">
</label>

Any thoughts, suggestions or upgrades would be appreciated! 

Thanks!
Accessibility and Labeling
issue