[Bug 18988] New: Allow explicit grouping of <dt> and <dd> elements

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

           Summary: Allow explicit grouping of <dt> and <dd> elements
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec author view
        AssignedTo: mike@w3.org
        ReportedBy: Dave.Sparks@dandasparks.org.uk
         QAContact: public-html-bugzilla@w3.org
                CC: public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


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
<http://potoc.dandasparks.org.uk/txt(raw)/events.html>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 24 September 2012 13:10:43 UTC