[TYPO3-core] RFC: XHTML and accessibility of FORM cObj(#1369) [wrong patchfile!]
Martin.Kutschker at blackbox.net
Mon Nov 14 18:14:52 CET 2005
Sebastian Kurfuerst <sebastian at garbage-group.de> writes on
Mon, 14 Nov 2005 14:21:19 +0100 (MET):
> I accidently sent the wrong patch files to the list.
> The patch attached to this email is the current one.
Quite a large patch.
So I start with a small observation on cleanFormName. It uses an ereg_replace and we've agreed to use preg_replace. And it does a trim twice (the second is superfluos).
Is the substr really necessary? Shortened ids are probably more annoying the long ids. I recall no lenght limit from the standards.
So back to the main FORM function.
The description says in xhtml strict mode name is replaced with id in the form tag. From the patch it looks like it is always changed.
I guess the rest is ok, but I cannot say for sure. I'll hope to create some forms with patch later.
More information about the TYPO3-team-core