studiomitte / friendlycaptcha-typo3

Integration of friendly captcha
Other
4 stars 8 forks source link

Empty Label in ext:form #12

Closed 80Quattro closed 7 months ago

80Quattro commented 7 months ago

While using typo3-form extension, the label tag is always rendered, even if no label is set in backend. Empty label in form occurs errors in some html validators.

I suggest checking if the label is set in the backend, and if not, instead of rendering the empty label tag, add the aria-label="Friendly Captcha" property to the input tag.