WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: form labels vs label in first option tag?

for

From: Bryan Garaventa
Date: Oct 31, 2012 4:13PM


It's not reliable to depend on the value of a text field to act as it's
label, especially when 'focus' is used to clear the field in preparation for
typing.

NVDA for example automatically triggers the 'focus' handler for any element
it comes across when arrowing down the page.

----- Original Message -----
From: "Ryan E. Benson" < <EMAIL REMOVED> >
To: "WebAIM Discussion List" < <EMAIL REMOVED> >
Sent: Wednesday, October 31, 2012 2:57 PM
Subject: Re: [WebAIM] form labels vs label in first option tag?


> Since they put a predefined value in the textbox, it will be announced
> as if the person typed that into the field. If the field cleared as
> you tabbed into it, like it does when you click into it, it would not
> be read. However - I think JAWS emulates a click as you tab in, or it
> does at times.
> --
> Ryan E. Benson
>
>
> On Wed, Oct 31, 2012 at 5:32 PM, Angela French < <EMAIL REMOVED> > wrote:
>> "Choose" without a label doesn't allow the sighted user to know the
>> nature of what they are choosing.
>> Here is a similar example on amazon.com, though with a text field search
>> box:
>> http://www.amazon.com/New-Used-Textbooks-Books/b/ref=sv_b_6?ie=UTF8&;nodeF5600 .
>> How does a screen reader user know what is supposed to be entered into
>> the text field before entering the field?
>>
>> Angela French
>>
>>
>>
>>>