WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: valid code for LABEL?

for

From: Jon Gunderson
Date: May 2, 2005 2:21PM


No you cannot bridge two table cells. You need to end the
label at the end of the first table cell. This is the correct
code:

<TR>
<TD vAlign="middle" align="right">
<LABEL for="TextEmail">Email&nbsp;</LABEL>
</TD>
<TD>
<input name="TextEmail"
id="TextEmail"
type="text"
class="portalsearch"
maxlength="50"
size="14" />
</TD>
</TR>

Jon


Jon Gunderson, Ph.D., ATP
Director of IT Accessibility Services
Campus Information Technologies and Educational Services (CITES)
and
Coordinator of Assistive Communication and Information Technology
Disability Resources and Education Services (DRES)

Voice: (217) 244-5870
Fax: (217) 333-0248

E-mail: <EMAIL REMOVED>

WWW: http://cita.rehab.uiuc.edu/
WWW: https://netfiles.uiuc.edu/jongund/www/