#14732XHTML compliance of FORM objects (label tag)
Description
In XHTML [ are not allowed for ids (strictly speaking they never were even for HTML). When turning on acessibility a” label” tag with a “for” attribute is generated (which contains the id of the form element).
TYPO3 uses the same value for id and name of the form element. But the [ and ] are not allowed. A solution MAY be to quote the square brackets with numeric entities.
If this is not allowed/possible then the ids must be auto-generated. I suggest form name plus md5-hash of the field name. If the form name contains invalid characters we should do a fall-back to a random prefix.
(issue imported from #M1075)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.