xeqi / kerodon

interaction and testing library for html based ring apps.
305 stars 22 forks source link

label[for] should refer to the ID of a field, not the name #14

Closed glenjamin closed 11 years ago

glenjamin commented 11 years ago

As specified in http://www.w3.org/TR/html401/interact/forms.html#adef-for

We might as well also support a <label> element which has no "for" attribute, but contains a form control.

glenjamin commented 11 years ago

Fixed in 1bf1c8c5e2b3003b12a035fbc6cd128f6d3580af