[Bug 17158] Remove the <legend> tag and add it as an attribute to <fieldset> Example <fieldset legend="Personal information">

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17158

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from Simon Pieters <simonp@opera.com> 2012-05-28 08:31:44 UTC ---
(In reply to comment #2)
> The <legend> is an unnecessary tag, it just clutters the tag namespace and
> makes it harder learn HTML.

It's necessary to give a title to fieldsets.

> It is only used in <fieldset> so instead of having a separate tag, it should be
> an attribute of fieldset.

Attributes can't contain markup. Also, this change wouldn't be backwards
compatible.

> Having legend as an attribute of fieldset instead of as a separate take makes
> more sense, makes learning HTML easier, removes unnecessary tags that clutter,
> provides a cleaner DOM and allows autocompletion.

I don't see how it does any of those things.

> It also makes it more semantically correct because it is paired explicitly with
> the fieldset tag.

The semantics would be the same.

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: Not backwards compatible and would remove the ability to use markup
in the legend.

-- 
Configure bugmail: https://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 Monday, 28 May 2012 08:31:54 UTC