<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26222</bug_id>
          
          <creation_ts>2014-06-27 16:52:16 +0000</creation_ts>
          <short_desc>WAI ARIA Spec gives example of form field in a label, HTML 5 says not allowed</short_desc>
          <delta_ts>2016-05-05 14:31:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML.next</product>
          <component>default</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="dmacdona">david100</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>chaals</cc>
    
    <cc>mike</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108427</commentid>
    <comment_count>0</comment_count>
    <who name="dmacdona">david100</who>
    <bug_when>2014-06-27 16:52:16 +0000</bug_when>
    <thetext>WAI ARIA Spec gives example of form field in a label, 
http://www.w3.org/TR/wai-aria/roles#textalternativecomputation
under 2B
&quot;Authors sometimes embed a control within the label of another widget, where the user can adjust the embedded control&apos;s value. For example, consider a check box label that contains a text input field: &quot;Flash the screen [input] times&quot;. If the user has entered &quot;5&quot; for the embedded text input, the complete label is &quot;Flash the screen 5 times&quot;. For such cases, ....

html5 says:
http://www.w3.org/html/wg/drafts/html/CR/forms.html#the-label-element 
&quot;Content model: Phrasing content, but with no descendant labelable elements unless it is the element&apos;s labeled control, and no descendant label elements&quot;

There appears to be a discrepancy between wai aria and html 5. Suggest investigation into them. One should change...
Perhaps the wai aria doc can change it&apos;s text to...
&quot;Authors sometimes embed a control within the label of another widget, where the user can adjust the embedded control&apos;s value. &lt;add&gt;as an &quot;willful violation&quot; of HTML.&quot;&lt;/add&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126339</commentid>
    <comment_count>1</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2016-05-05 14:31:19 +0000</bug_when>
    <thetext>HTML allows for multiple interactive things inside a label, although that is not recommended. And it works in practice too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>