You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
When using annotations on entities to generate Zend\Form, I noticed that if property has assigned type hidden but there is label set, view helper will render label around it:
IMHO there shouldn't be any label rendered. as it seems weird.
At least from accesibility viewpoint I can refer to http://www.w3.org/TR/WCAG20-TECHS/F68.html saying: Note 2: The label element is not used for ... Hidden input fields (input type="hidden")
Background:
Label is set on hidden field because we are generating other things from annotation and in this case it is there to set column heading in generated table.
The text was updated successfully, but these errors were encountered:
When using annotations on entities to generate Zend\Form, I noticed that if property has assigned type hidden but there is label set, view helper will render label around it:
IMHO there shouldn't be any label rendered. as it seems weird.
At least from accesibility viewpoint I can refer to http://www.w3.org/TR/WCAG20-TECHS/F68.html saying:
Note 2: The label element is not used for ... Hidden input fields (input type="hidden")
Background:
Label is set on hidden field because we are generating other things from annotation and in this case it is there to set column heading in generated table.
The text was updated successfully, but these errors were encountered: