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

RE: label tag question

From: Léonie Watson <lw@nomensa.com>
Date: Wed, 6 Apr 2005 16:24:11 +0100
Message-Id: <200504061524.j36FOGAw062630@nomensa.com>
To: <jim@jimthatcher.com>, "'Charles McCathieNevile'" <charles@sidar.org>, "'Patrick H. Lauke'" <redux@splintered.co.uk>, <w3c-wai-ig@w3.org>

Jim Thatcher wrote:

	"I just found a site,
http://www.hhs.state.tx.us/business/index.shtml, which uses a label element
around the search button. I tried it with JAWS, Window-Eyes and HPR. None of
them speak "search" when arriving at the edit field."

	The code for the form on that page puts a label around the submit
button, but doesn't associate it explicitly with either the submit button or
the edit field, which is why none of the screen readers will say "Search"
when they encounter the edit field. The label around the submit button is
apparently redundant anyway, not least because it provides no label text,
but also because a screen reader will read the value of the value attribute
by default, which in this case has been given as "Search".

Regards,
Léonie.
--
Léonie Watson - Head of Accessibility

Nomensa Email Disclaimer:
http://www.nomensa.com/email/disclaimer.html
Received on Wednesday, 6 April 2005 15:24:43 GMT

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