Description
A navigational aid that provides an ordered list of links to the major sectional headings in the content. A table of contents may cover an entire work, or only a smaller section of it.
Examples
Relation to ARIA
doc-toc
is a landmark role.
Usage
doc-toc
is typically used on nav
elements.
A label must be provided for the role using one of the aria-labelledby
,
aria-label
or title
attributes.
For a simplified list of all the elements the role is allowed on, refer to the mapping table in the EPUB Type to ARIA Role Authoring Guide. For the official list of allowed elements, refer to ARIA in HTML.