WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Field labels

for

From: Sandy Clark
Date: Mar 10, 2004 7:49AM


A better way is to use the following so that Jaws, and other screen readers
which apply stylesheets will actually read.

.hidden{
height: 0; /* show any descriptive text in a link only in speech
browsers, hide in all visual browsers. */
overflow: hidden;
position: absolute; /* for the benefit of IE5 Mac */
width: 0;
}

-----Original Message-----
From: Jon Gunderson [mailto: <EMAIL REMOVED> ]
Sent: Wednesday, March 10, 2004 9:13 AM
To: <EMAIL REMOVED>
Subject: Re: Field labels

You can make a label invisible using CSS.

<label style="visibility: hidden">Address 2: <input name="address2"
type="text"></label>

Jon


---- Original message ----
>Date: Wed, 10 Mar 2004 10:26:27 -0000
>From: "Allison Tynan" < <EMAIL REMOVED> >
>Subject: Field labels
>To: < <EMAIL REMOVED> >
>
>Hello everyone
>
>Is it possible to attach invisible field labels? Say for example you
>have three fields for an address, instead of labelling each field
>Address 1, Address 2 etc, is it possible to provide an invisible label
>for the second two fields?
>
>Many thanks
>Allison Tynan
>System Concepts Limited
>2 Savoy Court
>Strand
>London
>WC2R 0EZ
>
>
>
>
>----
>To subscribe, unsubscribe, suspend, or view list archives, visit
>http://www.webaim.org/discussion/
>
Jon Gunderson, Ph.D., ATP
Coordinator of Assistive Communication and Information Technology Division
of Rehabilitation - Education Services
MC-574
College of Applied Life Studies
University of Illinois at Urbana/Champaign
1207 S. Oak Street, Champaign, IL 61820

Voice: (217) 244-5870
Fax: (217) 333-0248

E-mail: <EMAIL REMOVED>

WWW: http://cita.rehab.uiuc.edu/
WWW: http://www.staff.uiuc.edu/~jongund



----
To subscribe, unsubscribe, suspend, or view list archives, visit
http://www.webaim.org/discussion/




----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/