W3C home > Mailing lists > Public > public-html@w3.org > July 2011

[Bug 13175] New: Allow LEGEND to be LEGEND of FORM itself, without need for wrapping FIELDSET

From: <bugzilla@jessica.w3.org>
Date: Thu, 07 Jul 2011 17:26:23 +0000
To: public-html@w3.org
Message-ID: <bug-13175-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13175

           Summary: Allow LEGEND to be LEGEND of FORM itself, without need
                    for wrapping FIELDSET
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mtanalin@yandex.ru
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


http://www.w3.org/TR/html5/forms.html#the-legend-element

Often, LEGEND element is used as legend for FORM itself.

Currently, HTML spec requires LEGEND to be child of FIELDSET element, so to
make legend for form itself, developers are forced to just wrap all form
contents into one big FIELDSET to make it formally valid:

<form action="example"><fieldset>
    <legend>Example form</legend>
    <input type="text" name="test" />
</fieldset></form>

Such FIELDSET is completely redundant. So, it makes sense to allow LEGEND to be
child of FORM itself, without need for wrapping FIELDSET:

<form action="example">
    <legend>Example form</legend>
    <input type="text" name="test" />
</form>

Thanks.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 7 July 2011 17:26:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:26 UTC