WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Label for and input id--basic question revisited.

for

From: Iaffaldano, Michelangelo
Date: Jan 24, 2014 10:38AM


Explicit labels are necessary for users of voice input. Dragon Naturally Speaking and such are less forgiving than screen readers when it comes to markup.

Michelangelo

-----Original Message-----
From: Paul J. Adam [mailto: <EMAIL REMOVED> ]
Sent: January 24, 2014 10:51 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Label for and input id--basic question revisited.

So where do wrapped labels not work?

They are less code.


Paul J. Adam
Accessibility Evangelist
www.deque.com

On Jan 24, 2014, at 9:32 AM, Steve Faulkner < <EMAIL REMOVED> > wrote:

> case 1 for/id is necessary
> case 2 for/id is not necessary
>
> here are some tests i carried out a few years back:
> http://www.html5accessibility.com/tests/form-labels.html
>
> --
>
> Regards
>
> SteveF
> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;
>
>
> On 24 January 2014 15:28, Nancy Johnson < <EMAIL REMOVED> > wrote:
>
>> 2 Questions :
>>
>> If the the label and input abut each other in the layout, is 'label
>> for' 'id' necessary?
>> <label class="someclass" label for="name">name</label><input
>> type="text" id="name">
>>
>> If the label wraps around the input is 'label for' 'id' necessary?
>> <label class="someclass">name<input type="text"></label>
>>
>> My understanding was the labeling came at a time when we all used
>> layout tables and the label was in one column and input in another
>> column?
>>
>> Thanks
>>
>> Nancy
>> >> >> list messages to <EMAIL REMOVED>
>>
> > > list messages to <EMAIL REMOVED>