jzaefferer/jquery-validation — pull request #900 by nschonni (2013-09-24 00:48:18+00:00)
Title: Only add 'for' value if errorElement is a label

A 'for' on other types causes problems for screen readers, and is not valid HTML