GNOME Bugzilla – Bug 720065
ATK does not have good roles for HTML description lists
Last modified: 2013-12-09 17:12:02 UTC
HTML DL elements and friends (DT, DD) do not have a proper way to be exposed through ATK, since just using LIST for DL and merging the DT + DD in a single LIST_ITEM element would lose part of the meaning (boundaries between the term and its definition). As a result, it might be interesting to have specific roles to better expose a hierarchy like this: <dl> <dt>Coffee</dt> <dd>Black hot drink</dd> <dt>Milk</dt> <dd>White cold drink</dd> </dl> What about something like this: ATK_ROLE_DESCRIPTION_LIST ATK_ROLE_DESCRIPTION_TERM ATK_ROLE_DESCRIPTION_VALUE [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element
Created attachment 263817 [details] [review] Add roles for description lists Adding the roles are easy. As usual the complex is the documentation. I wrote one based on dl/dd/dt documentation at http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element but not sure if too verbose or properly worded. Review is welcome.
Comment on attachment 263817 [details] [review] Add roles for description lists After some minor tweaks on the text (reviewd by Joanmarie Diggs), patch committed.