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

Re: *Complex* Tables, Forms, Labeling, I'm still confused

From: Douglas Livingstone <lists@redmelon.net>
Date: Thu, 14 Nov 2002 20:42:57 +0100
Message-ID: <005b01c28c18$5ab7e4a0$aa753850@douglas>
To: <w3c-wai-ig@w3.org>

> My understanding of <label> is
> that it is displayed as text on the screen for visual users, and is
supposed
> to be read as the prompt for a given element.  If I'm right about that,
then
> I can't use the label idea, I think.

If I understand your problem, which I'm not 100% on, you could try putting
this in your style sheet:

label.hidden {
 visibility: hidden;
}

And later:

<label for="mybox" class="hidden">Label</label>

Visibility, to my understanding, should only affect visual browsers, so your
screen readers will pick up the label, but it won't be visible to visual
user agents.

hth,
Douglas
Received on Thursday, 14 November 2002 17:33:42 GMT

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