I understand the for attribute specifies which form element a label is bound to.
Do you have an example where this would be actually useful?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://jsfiddle.net/jRB2s/3/
Clicking on the label will give focus to the element with the same ID as the for value.
For radio buttons or checkboxes, it will toggle their status as if you were clicking on them.
This is really useful expecially on handheld devices, where it’s not always simple to click the desired form control.