-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Summary:
E-book readers that support viewing epub3 embedded page numbers are not working. The page numbers are not displayed. This appears to be due to the toc.xhtml page list using epub:type="landmarks" rather than epub:type="page-list".
Other minor page number accessibility features could be implemented in the epub3 file.
How to Reproduce:
Calibre E-book viewer
Action: Set Preferences|Headers and footers|Footer Middle to "Pages from paper edition"
Result: Print page numbers are not displayed in footer
Mac Books app
Action: Set View|Print Edition Page Numbers
Result: Setting is not available (grayed out)
Kindle Paperwhite (via Send to Kindle)
Action: Set Aa|More tab|Reading Progress|Page in book
Result: Cycling through progress indicator in lower left of page will eventually show "Page xx", but xx does not match the epub numbers
Suggested Changes:
Specification link
Example link
toc.xhtml changes (using pg77076):
current:
```<nav epub:type="landmarks" aria-label="Page List">
<ol id="pages" class="pagelist">
<li>
<a href="7087579753225567587_77076-h-7.htm.xhtml#Page_xiii" id="pt-5" epub:type="frontmatter">[Pg xiii]</a>
</li>
<li>
<a href="7087579753225567587_77076-h-8.htm.xhtml#Page_1" id="pt-6" epub:type="normal">[Pg 1]</a>
</li>
updated:
```</nav>
<nav epub:type="page-list" hidden="hidden">
<ol id="pages" class="pagelist">
<li>
<a href="7087579753225567587_77076-h-7.htm.xhtml#Page_xiii" id="pt-5">xiii</a>
</li>
<li>
<a href="7087579753225567587_77076-h-8.htm.xhtml#Page_1" id="pt-6">1</a>
</li>
Note: "[Pg ]" text stripped out since Kindle only works with Roman and Arabic numbers.
Other minor changes for accessibility:
- Some assistive readers (e.g. Thorium Reader, NVDA) can read out the contents of the title attribute value and/or arial-label value in the page markers if epub:type="pagebreak" and role="doc-pagebreak" are used.
Example:
<span epub:type="pagebreak" role="doc-pagebreak" id="Page_47" title="47"/>
Notes:
Only the bare page number is recommended with the "doc-pagebreak" role: document
Also may need to add xmlns:epub="http://www.idpf.org/2007/ops" to support the epub namespace.
- Page accessibility could be noted by adding "pageNavigation" to the content.opf file meta data.
Example:
<meta property="schema:accessibilityFeature">pageNavigation</meta>
Thorium Reader will display "Navigation - Go to page" in the E-book info page"