E-mail List Archives
RE: <label> element
From: Leo Smith
Date: Apr 1, 2002 2:43PM
- Next message: Holly Marie: "Re: Published work on Accessibility available"
- Previous message: Leo Smith: "
- Next message in Thread: Leo Smith: "
- Previous message in Thread: Kevin Spruill: "RE:
- View all messages in this Thread
Well, on one of my pages the form element's label is adjacent to it
(directly above), but in this instance the <form> tags cannot
encapsulate both the <label> and the form element:
<.tr valign="top">
<.td width="100%">
<.label for="quicklinks"><.img src="/images/title_quicklinks.gif"
width="165" height="25" border="0" alt="quick links"><./label>
<./td>
<./tr>
<.tr valign="top">
<.td width="100%">
<.form method="post" action="/cgi-bin/go-url.cgi">
<.select name="URL" class="homequicklinks"
id="quicklinks">
<.option value="something">something</option>
<./select>
<.input type="image" border="0"
src="/images/button_go_quicklinks.gif" width="19" height="19"
alt="go">
<./form>
<./td>
<./tr>
Is a screen reader not going to associate the label with the form
element in this instance?
Leo.
On 1 Apr 2002, at 11:13, Kevin Spruill wrote:
> Seems pretty straightforward either way - labels (logically) should be
> placed with the form elements they refer to... within the form. As for
> interpretation of the statue... how about this:
Leo Smith
Web Designer/Developer
USM Office of Publications and Marketing
University of Southern Maine
207-780-4774
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Holly Marie: "Re: Published work on Accessibility available"
- Previous message: Leo Smith: "
- Next message in Thread: Leo Smith: "
- Previous message in Thread: Kevin Spruill: "RE:
- View all messages in this Thread