[html5] r5483 - [e] (0) Show best practice for use of labels in details. Fixing http://www.w3.or [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 24 18:57:07 PDT 2010


Author: ianh
Date: 2010-09-24 18:57:06 -0700 (Fri, 24 Sep 2010)
New Revision: 5483

Modified:
   complete.html
   index
   source
Log:
[e] (0) Show best practice for use of labels in details.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10417

Modified: complete.html
===================================================================
--- complete.html	2010-09-25 01:50:02 UTC (rev 5482)
+++ complete.html	2010-09-25 01:57:06 UTC (rev 5483)
@@ -47146,8 +47146,8 @@
    used to hide some controls by default:</p>
 
    <pre><details>
- <summary>Name & Extension:</summary>
- <p><input type=text name=fn value="Pillar Magazine.pdf">
+ <summary><label for=fn>Name & Extension:</label></summary>
+ <p><input type=text id=fn name=fn value="Pillar Magazine.pdf">
  <p><label><input type=checkbox name=ext checked> Hide extension</label>
 </details></pre>
 

Modified: index
===================================================================
--- index	2010-09-25 01:50:02 UTC (rev 5482)
+++ index	2010-09-25 01:57:06 UTC (rev 5483)
@@ -47126,8 +47126,8 @@
    used to hide some controls by default:</p>
 
    <pre><details>
- <summary>Name & Extension:</summary>
- <p><input type=text name=fn value="Pillar Magazine.pdf">
+ <summary><label for=fn>Name & Extension:</label></summary>
+ <p><input type=text id=fn name=fn value="Pillar Magazine.pdf">
  <p><label><input type=checkbox name=ext checked> Hide extension</label>
 </details></pre>
 

Modified: source
===================================================================
--- source	2010-09-25 01:50:02 UTC (rev 5482)
+++ source	2010-09-25 01:57:06 UTC (rev 5483)
@@ -53011,8 +53011,8 @@
    used to hide some controls by default:</p>
 
    <pre><details>
- <summary>Name & Extension:</summary>
- <p><input type=text name=fn value="Pillar Magazine.pdf">
+ <summary><label for=fn>Name & Extension:</label></summary>
+ <p><input type=text id=fn name=fn value="Pillar Magazine.pdf">
  <p><label><input type=checkbox name=ext checked> Hide extension</label>
 </details></pre>
 




More information about the Commit-Watchers mailing list