E-mail List Archives
Re: Do you need to have a label on a form field when it has a default value?
From: William Lawrence
Date: Sep 12, 2010 2:57PM
- Next message: Ritz, Courtney L. (GSFC-7500): "Images in HTML e-mails"
- Previous message: Stephan Wehner: "Eeb application development competition: "accessible designer" wanted"
- Next message in Thread: Jukka K. Korpela: "Re: Do you need to have a label on a form field when it has a default value?"
- Previous message in Thread: Jukka K. Korpela: "Re: Do you need to have a label on a form field when it has a default value?"
- View all messages in this Thread
Default text in the value attribute implicitly labels the form input.
Form input elements must always be explicitly labeled, either with a
label element or with the title attribute of the input element.
Cheers!,
William
--
William Lawrence
Accessibility Engineer
On Sat, Sep 11, 2010 at 4:28 PM, Jukka K. Korpela < <EMAIL REMOVED> > wrote:
> 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/
>
>
- Next message: Ritz, Courtney L. (GSFC-7500): "Images in HTML e-mails"
- Previous message: Stephan Wehner: "Eeb application development competition: "accessible designer" wanted"
- Next message in Thread: Jukka K. Korpela: "Re: Do you need to have a label on a form field when it has a default value?"
- Previous message in Thread: Jukka K. Korpela: "Re: Do you need to have a label on a form field when it has a default value?"
- View all messages in this Thread