W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2010

[Bug 9099] New: suggestion; use list for <br> non-conforming example form alternative

From: <bugzilla@wiggum.w3.org>
Date: Sat, 20 Feb 2010 12:08:50 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9099-2486@http.www.w3.org/Bugs/Public/>

           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-
        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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:11 UTC