QuickForm: Label tag not implemented in 3.2.5?
| From: | Markus Ernst | Date: | Sat, 06 Aug 2005 14:09:30 +0000 |
| Subject: | QuickForm: Label tag not implemented in 3.2.5? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20299@lists.php.net to get a copy of this message | ||
Hi
Having a look at the new version announcement I miss the addition of label
tag support (see http://pear.php.net/bugs/bug.php?id=3834, first
comment). I
consider an option to add label tags as highly desirable, out of 3 reasons:
1. Using the label element is part of version 1.0 of the WAI guidelines, and
thus should be implemented at least as an option in a professional form
renderer: http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels.
2. The patch suggested in the bug entry adds the label tag at template
level. I have not tried it, but I am quite sure that this will cause the
label tag to be output also in freeze mode, which is not desirable and will
probably cause a validation error.
3. Different codes in normal and freeze modes will also provide more
flexibility in CSS styling, as one can set specific styles for the label
element and thus adjust the labels to the form elements without breaking the
layout in freeze mode.
So if I missed something, or if somebody knows a tutorial how to achieve
label tags (I use ITStatic renderer), I would highly appreciated to be
pointed to it. Otherwise I would like to put a label tag option on the wish
list...
--
Markus