Bug 18988 - Allow explicit grouping of <dt> and <dd> elements
Allow explicit grouping of <dt> and <dd> elements
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec
PC Linux
: P2 normal
: ---
Assigned To: This bug has no owner yet - up for the taking
HTML WG Bugzilla archive list
Depends on:
  Show dependency treegraph
Reported: 2012-09-24 13:10 UTC by Dave Sparks
Modified: 2013-04-05 14:07 UTC (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dave Sparks 2012-09-24 13:10:41 UTC
I have a problem which would be best solved by an element, analogous to <tbody>, which could optionally be used to explicitly group <dt> and <dd> elements.

One of my pages includes a list of events, which I would like to describe using microdata.  The details of each event are spread across a <dt> element and several <dd> elements.  No one element in the page includes all, and only, the details of a single event.

My first attempt to add microdata used the itemscope and itemtype attributes on the <dt> element, with an itemref attribute referencing the several <dd> elements.  Not only is this cumbersome, but Google seems to ignore itemref.

I now use <meta> elements, and an empty <a> element, in the <dt> element, for the microdata I want to present to Google.  This means that data is needlessly duplicated.

An alternative would be to use a separate <dl> element to enclose the details of each event, but this obfuscates the underlying structure.

The page in question is at
<http://www.potoc.dandasparks.org.uk/txt/events.html>, or more readably at
Comment 1 Edward O'Connor 2012-09-24 16:57:36 UTC

*** This bug has been marked as a duplicate of bug 18287 ***
Comment 2 Dave Sparks 2012-09-24 17:11:15 UTC
bug 18287 was resolved as "If there's a limitation with the styling, we should fix CSS".

That doesn't apply to this bug.  Maybe the limitation should be addressed in the microdata specification, but that's still an HTML5 issue.
Comment 3 Robin Berjon 2013-04-05 14:07:23 UTC
This mentions microdata, but it really is an HTML bug.