Lists of items on web resources should be represented by HTML markup that allows all users, including users with disabilities to easily move between items of a list and between lists themselves. Using
dl elements for defining list content ensures interoperability by making both graphical and non-graphical renderings of the lists accessible to all users, including users with disabilities.
- Screen reader users can easily identify the content of a list item and move between list items.
- Screen reader users can easily move between lists on the web resource.
- Web resources will be more usable since lists are rendered consistently.
- Lists are more accessible to users on a wider range of technologies.
- Markup of lists will be more consistent and thus styling them consistently across web resources is easier using CSS.
- The more web developers separate structure from styling the eaiser it is for them to create new resources and update existing resources.
- Web pages that use structural markup will be usable on a wider range of technologies.
lielements can be used to create unordered lists of information.
- The default rendering of an unordered list uses a solid black circle as the bullet for each item; this default can be modified to a variety of shapes including discs, circles and squares using the CSS list-style property.
- Custom bullets can be defined using the CSS background-image property or the CSS list-style-image property.
lielements can be used to create ordered lists of information.
- The default numbering of items in an ordered list uses decimal numbers starting from one (1).
- The numbering style and current list number can be changed using the CSS list-style-type property. Possible values include decimal-leading-zero, lower-roman, upper-roman, lower-greek, lower-latin, upper-latin, armenian, georgian or none.
valueattribute can be used to set the starting number for an ordered list.
valueattribute can be used to set the number for the current
dlelement can be used to create lists of definitions.
dtelement is used to itemize each term to be defined. One or more
ddelements follow each dt element and provide definitions for the term.
- Illinois Information Technology Accessibility Standards
- 1.5 Use lists to identify series of related items, including navigation menus.
- Section 508
- W3C Web Content Accessibility Guidelines 2.0
- 1.3.1 Info and Relationships
- 1.3.2 Meaningful Sequence
- Web Content Accessibility Guidelines (WCAG 1.0)
- 3.6 Mark up lists and list items properly. [Priority 2]
- 13.8 Place distinguishing information at the beginning of headings, paragraphs, lists, etc. [Priority 3]