Subject: | Implement <label for="..."> for checkboxes and radiobuttons |
It would be nice if the checkbox, checkbox_group and radio_group subroutines
create a <label> tag for the checkbox/radiobutton label. Latest versions
of Mozilla and Opera use this information to make the label clickable
to select or deselect the corresponding checkbox/radiobutton,
just like it works in normal GUI applications.
Here's how the generated HTML could look like:
<input id="cb1" type="checkbox"><label for="cb1">The checkbox label</label>
Using this feature requires the existance of an id for the
checkbox/radiobutton, which could be hard to autogenerate with CGI.pm.
Regards,
Slaven