W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

RE: Mandatory field labelling

From: RUST Randal <RRust@COVANSYS.com>
Date: Thu, 21 Mar 2002 07:39:56 -0500
Message-ID: <37925254B67DD311876C009027B0FF9201D3ABAF@cbscolex01.cbsinc.com>
To: "WAI (E-mail)" <w3c-wai-ig@w3.org>
>Just wondered whether there is a definitive answer to the 
>issue of how to
>display labels for mandatory fields.

----------

I've been giving a lot of thought to things like this lately.  Would this
work?

<label for="firstName">
<span style="display: none;">This field is required.</span>
First Name:
<input type="text" id="firstName" />

IE, NN and Opera will hide the "required" statement, but Lynx will show it.
I'm not sure what a screen reader will do with it though.

Randal
Received on Thursday, 21 March 2002 08:43:36 GMT

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