W3C home > Mailing lists > Public > public-comments-wcag20@w3.org > August 2011

About H40 Definition list usage

From: Sailesh Panchang <spanchang02@yahoo.com>
Date: Fri, 12 Aug 2011 13:40:42 -0700 (PDT)
Message-ID: <1313181642.98249.YahooMailClassic@web111707.mail.gq1.yahoo.com>
To: WCAG-comments <public-comments-wcag20@w3.org>
H40: Using definition lists
Comment:
Right, it is meant to be used to define a term like in a glossary. But it can be used effectively to represent content of the type LABEL: DATA. ... I mean not form controls but just text like:
<dt>Name</dt> <dd>xyz i.e name of person</dd>
<dt>Phone #</dt> <dd>person's phone#</dd> and so on.

Often there is such content displayed on the page either one below the other or horizontally and the label is styled / boldfaced so that it is visually distinct. So DL-DT-DD works fine in these instances if one chooses not to use a 2-col data table. The DL may be styled as needed.
Sailesh Panchang
 
Received on Friday, 12 August 2011 20:41:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:14 UTC