Bugzilla – Bug 18988
Allow explicit grouping of <dt> and <dd> elements
Last modified: 2013-04-05 14:07:23 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
*** This bug has been marked as a duplicate of bug 18287 ***
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.
This mentions microdata, but it really is an HTML bug.