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: Jukka K. Korpela
Date: Sep 11, 2010 2:33PM


adam solomon wrote:

> Labels are always advisable, but not required.

Depends on your definition for "required" and "always". An input field
should always have a label, for accessibility. (What some "accessibility
recommendations" say is a different issue, bu they generally agree.) For a
submit button, a label is seldom needed, or useful.

> Where a label is not desired by the developer,

Why would the desired of a developer matter?

> WCAG indicates that a title attribute will
> suffice in its stead.

If it says so, and I cannot see where it does, it is simply bad advice. The
title attribute is by definition an optional advisory title, and in
practice, only a small fraction of users will ever notice its presence.

--
Yucca, http://www.cs.tut.fi/~jkorpela/