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

On  2 Sep, 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 avoiding that - what, after all, does an asterisk have to do
  with something being mandatory ? I'd suggest something like:

   <label for="field">Foo (mandatory information)</label>
    <input type="text"
            id="field"
             name="foo"
              value="">

  styled to fit with CSS, naturally. You might want to fill in a
  suitable value, but I'm not going to re-open that debate.

  The above should work just as well for sighted and non-sighted users,
  as well as anything inbetween.

-- 
 -    Tina Holmboe                    Greytower Technologies
   tina@greytower.net                http://www.greytower.net/
   [+46] 0708 557 905

Received on Tuesday, 2 September 2003 09:50:52 UTC