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: Terrill Bennett
Date: Sep 10, 2010 9:45AM


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.