zendframework/zf2 — pull request #3144 by stefanotorresi (2012-12-10 16:52:44+00:00)
Title: Zend\Form\View\Helper\Captcha\AbstractWord input and hidden attributes

`AbstractWord::renderCaptchaInputs()` gives the same attributes to both input and hidden html tags. This may lead to the same `id` attribute, if set, in both tags, wich is not W3C compliant and prevents from using `` `for` attribute correctly.

Since the `id` attribute is unlikely to be used on the hidden element, one possible solution is to pass a copy of the attributes array without the `id` key to `renderCaptchaHidden()`.