W3C home > Mailing lists > Public > public-html@w3.org > September 2009

itemheader names <h>

From: Jim Jewett <jimjjewett@gmail.com>
Date: Tue, 22 Sep 2009 18:11:00 -0400
Message-ID: <fb6fbf560909221511n3efba0c4j82d735594d5b5029@mail.gmail.com>
To: HTML WG Public List <public-html@w3.org>
There is a need to label figures and diagrams, and a possibly related
need to label the parts of a details element.  There has been concern
about re-using label or legend or caption because of legacy issues.

The current least-bad solution seems to be either re-purposing <dt>,
or minting another new element -- apparently the 19th synonym.

Maybe it is time to create that 19th, and explicitly indicate that the
semantics are either "header for the nearest enclosing element" or
"header for the nearest enclosing block-level element" -- in which
case there is a problem coming up with a good but sufficiently generic
name.

But as long as we're thinking generic instead of figure-specific,
maybe the answer is a simple <h>.  Because of h1-h6, the meaning
should be more obvious than it is with most short tags; because of the
rejection of <h> to replace h1-h6, it is still available.

(And of course, the longer <itemheader> might work too, but I have a
vague feeling that might end up feeling too specific to lists or
pullouts.)

-jJ
Received on Tuesday, 22 September 2009 22:12:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:08 UTC