EPUB 3 Accessibility Guidelines

Indexes

Indexes should be marked up using unordered lists, as the alphatized order of the entries is not significant (e.g., an index can be reverse sorted without loss of information). If page numbers are included in the publication, page references in index entries can be linked.

To faciliate navigating an index, use nested section elements to enclose alphabetically- and numerically-related entries. Many indexes include the number or letter as a heading, but if one is not present or wanted, include the number or letter in a title attribute on the enclosing section so that it can be announced by assistive technologies.

The use of lists is recommended as it simplifies navigation by users of assistive technologies. Not only does it speed up the movement through entries, but the position within the list can be announced, allowing the reader to quickly return to the same spot again later, if needed.

Examples

Example 1 — An index with headings
<section epub:type="index">
   <h1>Index</h1>
   <section epub:type="part">
      <h2>A</h2>
      <ul>
         <li>
            Apples, <a href="#page01">1</a>, 
            <a href="#page27">27</a>
         </li>
         …
      </ul>
   </section>
   …
   <section epub:type="part">
      <h2>O</h2>
      <ul>
         <li>Oranges
            <ul>
               <li>
                  Florida, <a 
                  href="#page03">3</a>–<a
                  href="#page05">5</a>
               </li>
               …
            </ul>
         </li>
         …
      </ul>
   </section>
   …
</section>
Example 1 — A index without headings
<section epub:type="index">
   <h1>Index</h1>
   <section epub:type="part" title="A">
      …
   </section>
   <section epub:type="part" title="B">
      …
   </section>
   <section epub:type="part" title="C">
      …
   </section>
   …
</section>

Additional Resources