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

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 the QA contact for the bug.

Received on Thursday, 7 July 2011 17:26:29 UTC