W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2004

Re: Searching the list archives

From: James Craig <wai-wg@cookiecrook.com>
Date: Wed, 15 Sep 2004 13:23:23 -0500
Message-ID: <4148889B.9090900@cookiecrook.com>
To: wendy@w3.org
Cc: John M Slatin <john_slatin@austin.utexas.edu>, w3c-wai-gl@w3.org

Wendy Chisholm wrote:

> 
> Does Jaws ignore the label because it is an anchor?
> It does have a label, here's the code:
> 
> <label><a href="
>    http://www.w3.org/2002/02/mail-search-help#keywords">Search
>    this list for</a> <input name="keywords" type="text" size="
>    42" maxlength="100" value="" accesskey="f" /></label>

Though technically valid, Jaws ignores that label because IE ignores it. 
It needs a "for" attribute on the label that matches the "id" attribute 
(not the name) on the input. Grouping the text and input inside the 
element works in Mozilla and many newer browsers, but not in IE.

More about that here:
<http://cookiecrook.com/AIR/2003/train/forms.php>

James

-- 
http://cookiecrook.com/
Received on Wednesday, 15 September 2004 18:23:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:17:58 UTC