E-mail List Archives
Re: Include default text?
From: Steven Faulkner
Date: Oct 21, 2004 3:49PM
- Next message: Patrick H. Lauke: "Re: Re[2]: Include default text?"
- Previous message: Glenda: "Re: Re[2]: Include default text?"
- Next message in Thread: Patrick H. Lauke: "Re: Re[2]: Include default text?"
- Previous message in Thread: Glenda: "Re: Re[2]: Include default text?"
- View all messages in this Thread
If want to include default place holders, you can use JavaScript to clear a
field of its default text on focus.
Example:
<input type="text" size="3" value="default text"
onfocus="if(this.value=='default text'){this.value=''}" />
with regards
Steven Faulkner
Web Accessibility Consultant
National Information & Library Service (NILS)
454 Glenferrie Road
Kooyong Victoria 3144
Phone: (613) 9864 9281
Fax: (613) 9864 9210
Email: <EMAIL REMOVED>
National Information Library Service
A subsidiary of RBS.RVIB.VAF Ltd.
-----Original Message-----
From: glenda [mailto: <EMAIL REMOVED> ]
Sent: Friday, 22 October 2004 5:55 AM
To: WebAIM Discussion List
Subject: [WebAIM] Include default text?
Web Content Accessibility Guidelines 1.0 Guideline 10.4 states:
"Include default text in form controls"
I think I read in "Constructing Accessible Web Sites" that this is no longer
required for current technology. Is this definitely the case?
I am developing a site and no default text is the only reason its not
Triple-A compliant, which is what I would like. Is there anyway to hide
default text so only screen readers know its there?? Personally I think
default text would confused new/inexperienced users as they may know how to
get rid of it.
Any thoughts?
Cheers,
Glenda
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.781 / Virus Database: 527 - Release Date: 10/21/04
----
To subscribe or unsubscribe, visit http://www.webaim.org/discussion/
- Next message: Patrick H. Lauke: "Re: Re[2]: Include default text?"
- Previous message: Glenda: "Re: Re[2]: Include default text?"
- Next message in Thread: Patrick H. Lauke: "Re: Re[2]: Include default text?"
- Previous message in Thread: Glenda: "Re: Re[2]: Include default text?"
- View all messages in this Thread