Label for checkboxes and other input fields

Anish Mistry mistry.7 at osu.edu
Sat Dec 31 11:24:00 PST 2005


On Saturday 31 December 2005 01:44 pm, Ceri Davies wrote:
> On Sat, Dec 31, 2005 at 11:22:42AM -0500, Anish Mistry wrote:
> > By using the <label> tag to denote actual input field labels (eg.
> > radio, checkbox) you can make things much more useable.  You can
> > then click on the label to tick the checkbox or radio button. eg.
> >  Change the following on the mailling list search page from:
> > <td><input type="CHECKBOX" name="source"
> > value="freebsd-acpi" />
> > <strong>ACPI</strong></td>
> > <td>ACPI and power management development</td>
> > To:
> > <td><input type="CHECKBOX" name="source"
> > value="freebsd-acpi" id="freebsd-acpi" />
> > <label for="freebsd-acpi">ACPI</label></td>
> > <td>ACPI and power management development</td>
>
> You're right, and I started using this in some places already. 
> Could you perhaps submit a diff for one of the pages lacking it?
>
Sure, though I won't be able to get to this for at least a couple of 
weeks.

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-www/attachments/20051231/9a8970f4/attachment.bin


More information about the freebsd-www mailing list