W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

additional label question

From: Beheler Kim <beheler_kim@bah.com>
Date: Fri, 1 Apr 2005 11:56:42 -0500
Message-ID: <CD6921F5E4AC7842B574B14C4E48A8CB4847AF@MCLNEXVS03.resource.ds.bah.com>
To: <w3c-wai-ig@w3.org>
Hi everyone,


I have another question regarding label tags for form fields.  I have a
data table that has input boxes in each cell.   Do the label tags need
to be associated with the appropriate text in this situation, since the
data cell is already associated with the header?  If so, is it possible
to associate multiple text boxes with the same label and how would you
go about it?   An example of code as follows:

 

<table align="center" width="80%" cellpadding="2">

            <tr>

                        <th scope= "col">ID</th>

                        <th scope= "col">First Name</th>

                        <th scope= "col">Last Name</th>

            </tr>

            <tr>

                        <td scope="row"><input type="text" name="id1"
/></td>

                        <td><input type="text" name="fname1" /></td>

                        <td><input type="text" name="lname1" /></td>

            </tr>

            <tr>

                        <td scope="row"><input type="text" name="id2"
/></td>

                        <td><input type="text" name="fname2" /></td>

                        <td><input type="text" name="lname2" /></td>

            </tr>

</table>

 

Thanks in advance for your help,

Kim

 
Received on Friday, 1 April 2005 16:56:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:21 GMT