[xhtml2] LIST role/property module

Hi,
This is a QA Review comment for "XHTML 2.0"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/
2006-07-26
8th WD

About http://www.w3.org/TR/2006/WD-xhtml2-20060726/#mod-metaAttributes.html#s_metaAttributesmodule

A list is a list is a list. It can certainly have different usage in different context, but that is exactly the aims of XHTML 2.0 stated in the introduction of the document.
 dl, di, dt, dd, nl, ol, ul, li
Replace all of this by a single structure and then define appropriate role attributes. For example,

<ul property="unordered|ordered|definition|menu">
 <li>item 1<li>
 <li>item 2<li>
 <li>item 3<li>
</ul>

In the case of definition list, it could be something similar to:

<ul property="definition">
 <li property="description">An 
 <span id="def-acronym" property="term">acronym</span> 
 is a word formed from the initial letters or groups of letters 
 of words in a set phrase or series of words.<li>
</ul>

See "DEFINITION role/property module" 




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Thursday, 17 August 2006 03:27:49 UTC