Class Summary HTML_QuickForm_Action_Submit | |
PEAR Manual | |
HTML_QuickForm_Renderer_Tableless is a replacement of the default renderer of HTML_QuickForm. It has two main goals:
Accessibility: Because of the abandonment of table tags and the addition of for attributes to the label tags and id attributes to the form elements, the generated output provides good accessibility. Challenged person might use screen readers, and unhindered persons benefit from the possibility to click on the labels to set the focus to the belonging form element.
Validity: The generated output of the renderer is fully XHTML 1.1 valid.
To use this renderer, you just need to copy (and modify if you want) the stylesheet and do something like this:
|
For full XHTML validity, you need to add the following line to your code:
|
Class Summary HTML_QuickForm_Action_Submit | |
PEAR Manual | |