WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: forms & th & label

for

From: J. B-Vincent
Date: Aug 5, 2009 5:25PM


Robin: This sounds like a table structure used only for formatting, not for displaying rows and columns of data. If that is the case, you shouldn't use <th> markup.

Jane Vincent, Center for Accessible Technology


--- On Wed, 8/5/09, Robin Brunner < <EMAIL REMOVED> > wrote:

From: Robin Brunner < <EMAIL REMOVED> >
Subject: [WebAIM] forms & th & label
To: "WebAIM Discussion List" < <EMAIL REMOVED> >
Date: Wednesday, August 5, 2009, 4:18 PM

Inside form and table tags, I have:
<tr>
    <th scope="row" align="right">
     <label for="name">Your Name: </label></th>
    <td align="left">
     <input type="text" id="name" name="name" size="35"
      title="Enter Your Name">
    </td>
</tr>
<tr>
    <th scope="row" align="right">
     <label for="address">Address: </label></th>
    <td align="left">
     <input type="text" id="address" name="address" size="40"
      title="Enter Your Address">
    </td>
</tr>
??If the form is a table, and I use <th>,
how do the label elements  in the table headers
and id attributes in the input elements help,
or do they??
THANKS, R
Robin Switzer Brunner
CompuPlace Director
601 Second Ave SE #3
Cedar Rapids, Iowa 52401-1305
319-362-4284
<EMAIL REMOVED>
www.ecc-cr.net