Description
A navigational aid that provides a list of links to the pagebreaks in the content.
Examples
Example 1 — Page list navigation
<nav role="doc-pagelist" aria-labelledby="pg-hd">
<h2 id="pg-hd">List of Pages</h2>
<ol>
<li><a href="#intro.html#pgi">i</a></li>
<li><a href="#intro.html#pgii">ii</a></li>
…
<li><a href="#c01.html#pg001">1</a></li>
…
</ol>
</nav>
Relation to ARIA
doc-pagelist is a landmark role.
Usage
doc-pagelist is typically used on nav elements. Refer to page navigation for more information about authoring
page lists.
A label must be provided for the role using one of the aria-labelledby,
aria-label or title attributes.
List of all elements allowed on
- a (without an href attribute)
- abbr
- address
- b
- bdi
- bdo
- blockquote
- br
- canvas
- cite
- code
- del
- dfn
- div
- em
- i
- img (with alt text)
- ins
- kbd
- mark
- nav
- output
- p
- pre
- q
- rp
- rt
- ruby
- s
- samp
- section
- small
- span
- strong
- sub
- sup
- table
- tbody
- td
- tfoot
- thead
- th
- tr
- time
- u
- var
- wbr