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

Re: Denoting a field is mandatory; hiding table headings to sighted users

From: Matthew Smith <matt@kbc.net.au>
Date: Tue, 02 Sep 2003 21:30:40 +0930
Message-ID: <3F548668.7000506@kbc.net.au>
To: John Trollope <John.Trollope@unumprovident.co.uk>
Cc: w3c-wai-ig@w3.org

John Trollope wrote:
> I need the user to supply several bits of information, some of which are mandatory. My question is how can I do so that it is presented in an optimal way for screen readers? 
> For sighted users, I usually denote this with an asterisk.

How about using the title attribute of the form fields?


<label for='foo'>Foo!</label>
<input type='text' id='foo' name='foo' size='32' maxlength='64'
title='Enter your value for foo here; this field is mandatory'
tabindex='99' />

For testing, Mozilla displays these titles as a 'tooltip'.



Matthew Smith
Kadina Business Consultancy
South Australia
Received on Tuesday, 2 September 2003 08:00:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:25 UTC