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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13175

--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-07-07 17:50:53 UTC ---
Using <h1> is a perfectly elegant and correct solution.  "legend" is just
another word for "h1" (along with "figcaption", "summary", "title", "th", and a
few other heading elements).

The only reason it exists is because (a) it has special rendering behavior in
conjunction with <fieldset>, and (b) it was defined by an earlier version of
HTML and exists in a lot of pages.

Neither of these reasons apply to the suggestion of using <legend> outside of
<fieldset>.  If you want a heading for your form, use <h1>.

-- 
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:50:59 UTC