Lists and Definitions
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 ul, ol, and 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.
Benefits to People 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.
Benefits to Everyone
- Web resources will be more usable since lists are rendered consistently.
- Lists are more accessible to users on a wider range of technologies.
Benefits to Developers
- 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.
- CSS can be used to create custom numbering or bullets for ordered and unordered lists
- Images should not be used to create the visual appearance of a list
- Use CSS to create custom numbering or bullets for ordered and unordered lists
- A deinition item in a definition list
- A term item in a definition list
- The dl element can be used to create lists of definitions.
- The dt element is used to itemize each term to be defined. One or more dd elements follow each dt element and provide definitions for the term.
lielements can be used with
ulmarkup to create ordered and unordered lists of information.
- Defines the starting value for an ordered list
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.
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.
Related Accessibility Requirements