This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9427 - Suggestion: Deprecate Legend Element
Summary: Suggestion: Deprecate Legend Element
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 23:08 UTC by contributor
Modified: 2010-10-04 13:56 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-04-05 23:08:26 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-legend-element

Comment:
Suggestion: Deprecate Legend Element

Posted from: 93.206.148.229
Comment 1 Axel Dahmen 2010-04-05 23:14:55 UTC
The Legend element is an artificial, nonviable construct, strictly bound to another element ("fieldset"), with no use other than applying a textual attribute to the <fieldset> element, imposing unnecessary declarative constraints and implementation trouble, not justifying the existance of this element as a stand-alone element.

I suggest to deprecate the <legend> element in favour to replacing it with a more light-weight solution: a "legend" attribute, applied to the <fieldset> element.
Comment 2 Ian 'Hixie' Hickson 2010-04-06 08:19:09 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: How would you put a form control in an attribute? One of the use cases for <fieldset> is to have a checkbox in the legend.
Comment 3 Axel Dahmen 2010-05-07 03:07:16 UTC
I see... Sorry, didn't read the DTD correctly. My mistake.