WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
Date: Feb 23, 2005 4:59AM


Ive been wrapping it around the input because I thought it helped IE
use the label as a clickable area. Ill amend that asap.


On Wed, 23 Feb 2005 05:45:45 -0600, jim wrote:
>
> 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/
>
> ----
> To subscribe or unsubscribe, visit http://www.webaim.org/discussion/
>
>