W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2003

RE: place-holding characters in edit/text boxes

From: Lauke PH <P.H.Lauke@salford.ac.uk>
Date: 27 Aug 2003 10:23:01 +0100
Message-ID: <3A1D23A330416E4FADC5B6C08CC252B98A3E20@misnts6.mis.salford.ac.uk>
To: "B.K. DeLong" <bkdelong@pobox.com>
Cc: w3c-wai-ig@w3.org

> I'm leaning towards "Enter keyword here" or "Enter search 
> keyword". Any 
> suggestions?

I usually tend to have a single space as default value. It's unobtrusive
(as opposed to longwinded placeholders such as the ones you mention...sure,
you can use javascript to clear the input onfocus, but that won't prevent
Lynx users and co. from having to painstakingly delete the default value before
being able to enter their text), and the leading space character that may
be passed on as a result of this can easily be filtered out server-side
(for search boxes, it usually doesn't have any influence on the search results).

But yes, I'd like to hear other list members' opinions on the "single space"
solution (?)

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
Received on Wednesday, 27 August 2003 05:24:15 GMT

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