- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
 - Date: Sat, 25 Sep 2010 01:57:14 +0000
 - To: public-html-commits@w3.org
 
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv23921
Modified Files:
	Overview.html 
Log Message:
Show best practice for use of labels in details. (whatwg r5483)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4374
retrieving revision 1.4375
diff -u -d -r1.4374 -r1.4375
--- Overview.html	25 Sep 2010 01:50:06 -0000	1.4374
+++ Overview.html	25 Sep 2010 01:57:10 -0000	1.4375
@@ -35949,8 +35949,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>
 
Received on Saturday, 25 September 2010 01:57:16 UTC