WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Do you need to have a label on a form field when it has a default value?

for

From: adam solomon
Date: Sep 11, 2010 12:06PM


Labels are always advisable, but not required. Where a label is not desired
by the developer, WCAG indicates that a title attribute will suffice in its
stead. One or the other, at the very least.

On Fri, Sep 10, 2010 at 6:43 PM, Terrill Bennett <
<EMAIL REMOVED> > wrote:

> So I enter the field and here "Enter a 10 digit T-Mobile Number."
> Excellent, I can do that!
>
> I enter: 1234567890
>
> I move to another field (forward or backward in the form).
>
> I come back to that field and here "1234567890"
>
> Hmmm... what's this field for? It sounds like my T-Mobile phone
> number, but is that what I was supposed to put in there? I don't
> know, for sure.
>
> I vote "Label the field properly."
>
> As we all know: "Practice Makes Permanent" and "Perfect Practice
> Makes Perfect." Once you go down the Dark Side, you will convince
> yourself it's a good practice.
>
> -- Terrill --
>
> =======================> From: Dean Hamack
> Date: Sep 9, 2010 3:14PM
>
> Building a form, and the design specs show a form field with the
> instructions for what to enter right in the field, like so:
>
> <input name="mobile" type="text" value="Enter a 10 digit T-Mobile Number"
> />
>
> Is a label really necessary here? It seems redundant to me.
>