E-mail List Archives
Re: Label for and input id--basic question revisited.
From: Paul J. Adam
Date: Jan 24, 2014 8:50AM
- Next message: John E Brandt: "Re: Video Description in text for other non-audio format"
- Previous message: Lewis Phillips: "Re: Label for and input id--basic question revisited."
- Next message in Thread: Iaffaldano, Michelangelo: "Re: Label for and input id--basic question revisited."
- Previous message in Thread: Lewis Phillips: "Re: Label for and input id--basic question revisited."
- View all messages in this Thread
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
>> >> >> >>
> > >
- Next message: John E Brandt: "Re: Video Description in text for other non-audio format"
- Previous message: Lewis Phillips: "Re: Label for and input id--basic question revisited."
- Next message in Thread: Iaffaldano, Michelangelo: "Re: Label for and input id--basic question revisited."
- Previous message in Thread: Lewis Phillips: "Re: Label for and input id--basic question revisited."
- View all messages in this Thread