google-code-export / django-simple-captcha

Automatically exported from code.google.com/p/django-simple-captcha
MIT License
0 stars 0 forks source link

Wrong for attribute in label element #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The label's for attribute is set to "id_captcha":
<label for="id_captcha">

While the text input has the id "id_captcha_1":
<input type="text" name="captcha_1" id="id_captcha_1" />

This way you can't click on the label to focus the text input. In order to
make it work, the for attribute must be set to "id_captcha_1".

Original issue reported on code.google.com by eschler on 29 Apr 2010 at 3:08

GoogleCodeExporter commented 9 years ago
Fixed in r61, cheers.

Original comment by mbonetti on 16 Feb 2011 at 4:11