#102652Form : multicheckbox field has a top label with a "for" attribute that doesn't match a labelable form element
Description
Hi,
according to this Mozilla Dev documentation, the value of the for attribute must be a single id for a labelable form-related element in the same document as the
Labelable form elements are listed here : https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#labelable
The multicheckbox field has an top label with a “for” attribute doesn’t match any form element id, but a div one.
Google Chrome complains with this message :
The label's for attribute doesn't match any element id. This might prevent the browser from correctly autofilling the form and accessibility tools from working correctly. To fix this issue, make sure the label's for attribute references the correct id of a form field.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Riccardo De Contardi changed Complexity easy Sprint Focus On Location Sprint 07/11/24, 08:20
-
Tibor Legat commented 08/07/25, 20:26
The behavior has been fixed in TYPO3 12. It was replaced by the HTML combination of <fieldset> and <legend>. @ghi Thus, issue can be closed.</legend></fieldset> -
Garvin Hicking commented and changed status
NewClosed 08/07/25, 22:31Thanks for the update here :-)