<?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>11422</bug_id>
          
          <creation_ts>2010-11-28 18:15:22 +0000</creation_ts>
          <short_desc>A LABEL can be associated with EXACTLY ONE form element</short_desc>
          <delta_ts>2010-11-28 18:15:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Documentation</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Richard Lynch">w3c</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42823</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Lynch">w3c</who>
    <bug_when>2010-11-28 18:15:22 +0000</bug_when>
    <thetext>As describe in #1199, marked invalid for some reason, two INPUT within a single LABEL validates, despite this:
http://www.w3.org/TR/html401/interact/forms.html#h-17.9

Not only that, a LABEL with *no* FOR attribute and *no* enclosed form element will also validate.

So you might as well remove the line &quot;Each LABEL element is associated with exactly one form control.&quot; because it&apos;s *not* being enforced in any way, shape, or form.

And I&apos;ve just inherited a project where the &quot;designer&quot; is using LABEL for layout (with inline style attributes, no less) with zero form elements for the LABELs.  I.e., he should have used SPAN or DIV, but didn&apos;t.

If you mean &quot;exactly one&quot; then enforce it.  If you don&apos;t mean it, then don&apos;t say it.  You&apos;ve got designers running around claiming their HTML validates, which it does with your DTD, but the DTD doesn&apos;t encompass this at all, so it&apos;s not up to spec... [shrug]

Maybe I&apos;m just being too critical, but either the Docs or the DTD should change to agree with each other.

ymmv
ianal</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>