[Typo3-dev] small accessibilty improvement for forms
Martin Kutschker
martin.t.kutschker at n0spam.blackbox.net
Fri Feb 11 11:19:38 CET 2005
Hi!
TYPO3 uses per default tables to render forms. To make this default
conforming to WAI Guidelines Checkpoint 5.1 I suggest to change the TS for
forms to this (never mind the line breaks):
tt_content.mailform.20 {
layout = <tr><th scope="row"
class="csc-form-labelcell">###LABEL###</th><td
class="csc-form-fieldcell">###FIELD###</td></tr>
}
Yeah I know, one could of course try to get rid of the table altogether.
Anyway, these are only a few bytes more and you can make a mark on the
checklist :-)
What worries me more ist that I have no easy/standard way to set title or
summary attribute or a caption tag for the table of the form. I could to
this per TS, but it means it cannot be set from the content element.
Masi
More information about the TYPO3-dev
mailing list