E-mail List Archives
Re: label tag with form elements
From: Steve Faulkner
Date: Mar 13, 2015 7:12AM
- Next message: Gunderson, Jon R: "Re: Bootstrap Accessibility Plug-in"
- Previous message: Mickey Williamson: "label tag with form elements"
- Next message in Thread: Mickey Williamson: "Re: label tag with form elements"
- Previous message in Thread: Mickey Williamson: "label tag with form elements"
- View all messages in this Thread
>
> Any benefit
no
--
Regards
SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
On 13 March 2015 at 13:09, Mickey Williamson <
<EMAIL REMOVED> > wrote:
> If you're using the "for" attribute in the label tag, is there any reason
> to also wrap the input in the label tag?
>
> Any benefit to this:
>
> <label for="myinput">Label text<input id="myinput" type="text"
> name="textfield"></label>
>
> over this:
>
> <label for="myinput">Label text</label>
> <input id="myinput" type="text" name="textfield">
>
> Thanks,
> Mickey
> > > >
- Next message: Gunderson, Jon R: "Re: Bootstrap Accessibility Plug-in"
- Previous message: Mickey Williamson: "label tag with form elements"
- Next message in Thread: Mickey Williamson: "Re: label tag with form elements"
- Previous message in Thread: Mickey Williamson: "label tag with form elements"
- View all messages in this Thread