WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How would you mark up this information?

for

From: Jukka K. Korpela
Date: Apr 24, 2005 8:41AM


On Sun, 24 Apr 2005, John Foliot - WATS.ca wrote:


>> Might I suggest the Definition List instead?


You can, but then you are wrong and I need to tell it.


>> (this is, after all, a list of
>> contact information is it not?)


It is. It is not a list of definitions.


>> <dt>Emergency Communications Center</dt>


You are not defining what the term "Emergency Communications Center"
means, i.e. your are not specifying the properties that something needs to
have in order to be called Emergency Communications Center.

Hence, the markup is semantically wrong. No need to tell that even HTML
specifications contain semantically wrong use of <dl> elements; the W3C
doesn't always follow its own recommendations.

Moreover, on the practical side, styling <dl> elements suffers from
various peculiarities and oddities in browsers.

-- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/