WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How would you mark up this information?

for

From: foliot@wats.ca
Date: Apr 24, 2005 7:39AM


Webmaster wrote:

>> Hi,
>>
>> You may place it nicely on the page in logical blocks in the middle
>> of the page with something like:
>>
>> <style type="text/css">
>> p.ctc {
>> margin-left: 150; margin-top: 7;
>> }
>>
>> p.ctcd {
>> margin-left: 150; margin-top: 20;
>> }
>>
>> p.ctcl {
>> margin-left: 185; margin-top: 7;
>> }
>> </style>
>>
>> <p class="ctc">
>> Emergency Communications Center
>> ...etc.


Hmmm...

Might I suggest the Definition List instead? (this is, after all, a list of
contact information is it not?)

Consider:

<dl>
<dt>Emergency Communications Center</dt>
<dd>Emergencies dial 9-1-1</dd>

<dt>Chesterfield County Police Department</dt>
<dd>
<ul>
<li>Emergencies dial 9-1-1</li>
<li>Non-emergencies (804) 748-1251</li>
<li>FAX: (804) 748-1239</li>
<li>Street Address: <address>10031 Iron Bridge Road,
Chesterfield, VA 23832</address></li>
</ul>
</dd>

<dt>Chesterfield Fire and EMS</dt>
<dd>
<ul>
<li>Emergencies dial 9 -1-1</li>
<li>Non-emergencies (804) 748-1360</li>
<li>FAX: (804) 751-9022</li>
</ul>
</dd>

<dt>Domestic Violence Resource Center</dt>
<dd>For victims of domestic violence who need immediate assistance,
please call 911 or contact Police - (804) 748-1277 or (804) 748-1251 - after
5 p.m. and weekends, or the Virginia Family Violence and Sexual Assault
24-hour Hotline - 1-800-838-8238, or the YWCA 24-hour hotline - (804)
796-3066.</dd>
</dl>

...style as required.

JF
--
John Foliot <EMAIL REMOVED>
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca
Phone: 1-613-267-1983 / 1-866-932-4878 (North America)