label for association

This error/warning is not caught.
The /for/ associated /id/ is incorrectly placed in the *label* or *other 
element* and not in a control.
 
<label for="foo" id="foo"><input type="text"></label>

http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1

None of the validators catch this, although it will be corrected in the 
next release of Total Validator.


Regards,
Alun Jones

Received on Sunday, 1 June 2008 13:37:08 UTC