E-mail List Archives

Re: Accessible web forms: default text in edit boxes and text areas

for

From: Jim Thatcher
Date: Feb 23, 2005 4:46AM


I agree with Ben, that default text is neither needed nor desirable. But
there is no need to include the input itself in the label element - it
confuses some screen readers (I have forgotten which):

Search<input type="text" name="search"
id="search">

Jim

Accessibility Consulting: http://jimthatcher.com/
512-306-0931

-----Original Message-----
From: morrison.ben [mailto: <EMAIL REMOVED> ]
Sent: Wednesday, February 23, 2005 5:10 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Accessible web forms: default text in edit boxes and
text areas


General consensus seems to be that default text is more of a hindrance.

A properly structured form using label elements should solve all proeblems:

Search<input type="text" name="search"
id="search">

regards
ben

----
To subscribe or unsubscribe, visit http://www.webaim.org/discussion/