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 7669 - Redefining dt and dd, recommend new element as caption for Figure
Summary: Redefining dt and dd, recommend new element as caption for Figure
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Macintosh Mac System 9.x
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: NE, TrackerIssue
Depends on: 7657
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-17 23:09 UTC by Shelley Powers
Modified: 2010-10-04 14:29 UTC (History)
5 users (show)

See Also:


Attachments

Description Shelley Powers 2009-09-17 23:09:59 UTC
I have an open bug on redefining dt and dd for use as caption and content in Figure. See http://www.w3.org/Bugs/Public/show_bug.cgi?id=7657.

Rather than reuse dt/dd, which can cause considerable confusion, a new element to act as figure caption would be a better option. There wouldn't be any problems with legacy browsers, or any confusion about how dt/dd are to used in Figure as compared to definition list (dl) (see discussion at http://lists.w3.org/Archives/Public/public-html/2009Sep/0575.html).

In addition, this approach wouldn't impact on any existing application, and should help keep the Figure element as clean as possible (consisting of the contents of the figure, however they are defined, and the figure caption).

There have been several names suggested, including c, figcapt, and so on. I have no preferences as to name.
Comment 1 Ian 'Hixie' Hickson 2009-09-21 10:10:12 UTC
This has been considered many times.

Defining a new element has a number of disadvantages. It means yet another number for "label"/"heading"/"caption"/"legend"-like semantics (we're up to about 18 already depending on how you count them), which will lead to at least as much confusion as reusing <dt>, if not considerably more, as people try to remember when to use <caption> and when to use <legend> and when to use <figcaption> (or is it <figlegend>), etc. It also means more awkward parsing decisions, as well as generally being quite ugly. IMHO <legend> would be preferable to a new element, even with it's temporary issues with parsing in legacy browsers.
Comment 2 Shelley Powers 2009-10-05 00:58:31 UTC
Even though there is an Issue on this item, I want this bug kept open, as this is the only way I can record links or other new information associated with both bug and issue.

There is a discussion on dt/dd in the WhatWG pertinent to this topic.

http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023276.html

I would be happy to "close" this bug, if I can add information to the Issue. Only HTML WG members can add information to the an issue.
Comment 3 Michael[tm] Smith 2009-10-05 03:05:43 UTC
(In reply to comment #2)
> There is a discussion on dt/dd in the WhatWG pertinent to this topic.
> 
> http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023276.html

I'll note for the record here that this relates to Tracker issue 83:
http://www.w3.org/html/wg/tracker/issues/83

I added a note to that issue with a link the archived message above.

> I would be happy to "close" this bug, if I can add information to the Issue.
> Only HTML WG members can add information to the an issue.

You can add information to a bug even if it's been marked resolved. To have information added to a Tracker issue associated with a particular bug, you can post a comment to the bug and request that it also be added to the Tracker issue.

And for for a Tracker issue with the issue number NN, you can post a message with the string "issue-NN" in the message subject or in any part of the message body, and a link to the message will be added to the issue record for that issue. And if you want some information from such a message added as a note to an issue, or even added to the Description for an issue (so it'll appear more prominently), and you indicate that in the message, then I or one of the other people in the group with Tracker write perms can add it there.
Comment 4 Shelley Powers 2010-02-06 18:56:30 UTC
This item was fixed as part of the issue resolution process.