- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 20 Feb 2010 12:08:50 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9099
Summary: suggestion; use list for <br> non-conforming example
form alternative
Product: HTML WG
Version: unspecified
Platform: PC
URL: http://www.whatwg.org/specs/web-apps/current-
work/multipage/grouping-content.html#the-br-element
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML5 spec bugs
AssignedTo: dave.null@w3.org
ReportedBy: w3.org@boblet.net
QAContact: public-html-bugzilla@w3.org
CC: ian@hixie.ch, mike@w3.org, public-html@w3.org
Currently the conforming alternative form replaces <p> + <br> with individual
<p> elements:
<p><label>Name: <input name="name"></label></p>
<p><label>Address: <input name="address"></label></p>
For me this seems a non-conforming use of <p> :-) It’s generally considered
best practice is to use a list for forms, so I suggest changing to:
<li><label>Name: <input name="name"></label></li>
<li><label>Address: <input name="address"></label></li>
You could wrap this in <ol>, but <p> in non-conforming to <li> in conforming is
a good enough hint that another element may be more suitable.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 20 February 2010 12:08:52 UTC