ZF-6412: Captcha label incorrectly paired with its input field
Description
Rendering Zend_Form_Element_Captcha in Zend_Form with a label decorator results in invalid HTML, where is not correctly paired with the captcha's field.
{quote}
Captcha {quote}As can be seen, with its for attribute points to "captcha" element, while there is no element with this id. Proper behavior would be pointing to "captcha-input", as it is a text input field for captcha value.
Comments
Posted by Stanislav Malyshev (stas) on 2009-06-17T15:10:47.000+0000
fixed, thanks