[TYPO3-core] RFC: XHTML and accessibility of FORM cObj(#1369) [wrong patchfile!]

Sebastian Kurfuerst sebastian at garbage-group.de
Wed Nov 23 19:52:04 CET 2005


> 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.
I checked it, there is no length limit. I removed the substr.

> 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.
Yes, but this doesn't break backwards-compatibility, does it?

The new patch changes the above 3 things.
Feedback is as always appreciated,
Greets, Sebastian

Sebastian Kurfuerst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1369_3.patch
Type: text/x-patch
Size: 6238 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051123/c0fafa27/attachment.bin 

More information about the TYPO3-team-core mailing list