WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: semantics for an A-Z index

for

From: Bourne, Sarah (ITD)
Date: Apr 8, 2015 6:51AM


You could have the items marked as both list items and H3. I can't see doing this for this example, but if there were content for each of the list items, it could be desirable. You would get the list information, but be able to navigate by heading as well.

<h2>Produce aisle</h2>
<ul>
<li><h3>Salad ingredients</h3>
<ul>
<li>romaine lettuce</li>
[… 10 other things]
<li>cucumbers</li>
</ul>
</li>
<li><h3>Soup ingredients</h3></li>
[…]

Note: my grocery lists are never this structured. Perhaps if they were, I wouldn't forget things.

sb
Sarah E. Bourne
Director of IT Accessibility, MassIT
Commonwealth of Massachusetts
1 Ashburton Pl. rm 1601 Boston MA 02108
617-626-4502
<EMAIL REMOVED>
http://www.mass.gov/MassIT