- From: Homme, James <james.homme@highmark.com>
- Date: Fri, 30 Mar 2012 13:49:52 +0000
- To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
- Message-ID: <BF85B26B8ED7B647ACAD9C68E89DA554222BED4E@HMBREXMP03.highmark.com>
Hi, I have an HTML form with the following items, and would like to understand the best way to make a part of that form accessible. 1. A piece of text that says search by. 2. A list box where the user can choose what to search by. 3. An edit field. Here's my question. Is it appropriate to put a label tag around the list box in the hope that it will cause screen readers to speak the "search by" part of the label and the value of the list box when the focus gets to the edit box? Or is it a good idea to make just the "Search by" piece of text a label tag for the list box, then use possibly the title attribute for the edit box? I'm thinking that a script would change the title attribute in a case like this, if someone changes the list box. For example, if the user picks search by criteria number 1, the title attribute of the edit box would say something like "Enter criteria 1." And if the user scrolls the list box to criteria 2, the title attribute of the edit field would change to read "Enter criteria 2." I hope that makes sense. Jim Homme, Usability Services, Phone: 412-544-1810. ________________________________ This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.
Received on Friday, 30 March 2012 14:21:21 UTC