This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21677 - Allow multiple labels on for-attribute. Sometimes you have a form that has multiple fields all sharing the same label. e.g. when you allow a user to add multiple items which are then inserted using javascript.
Summary: Allow multiple labels on for-attribute. Sometimes you have a form that has mu...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 16:00 UTC by contributor
Modified: 2013-04-13 17:01 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-04-12 16:00:59 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html
Multipage: http://www.whatwg.org/C#attr-label-for
Complete: http://www.whatwg.org/c#attr-label-for

Comment:
Allow multiple labels on for-attribute. Sometimes you have a form that has
multiple fields all sharing the same label. e.g. when you allow a user to add
multiple items which are then inserted using javascript.

Posted from: 88.244.124.76
User agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
Comment 1 Ian 'Hixie' Hickson 2013-04-13 17:01:54 UTC
Which one would it focus, if there was more than one control per label and you clicked the label?