Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessibilityFeature printPageNumbers not checked on page list in nav file #203

Closed
laudrain opened this issue Jul 20, 2018 · 4 comments
Closed

Comments

@laudrain
Copy link

Please provide the following details if possible or relevant:

[1.0.2] the version of Ace impacted by the issue (as returned by the ace -v command).
[v8.7.0] the version of Node used to run Ace (as returned by the node -v command).
[MacOS 10.3.6] your operating system and version.

  • [] if the issue is a bug when running Ace: the error message as produced in the log file (you can enable debug logging with the --verbose option).
  • [] if the issue is about the HTML report: the browser(s) and version(s) you used.
  • [] if possible, let us know if you can share a sample input file to help us reproduce the issue.

If the OPF contains that metadata line:
<meta property="schema:accessibilityFeature">printPageNumbers</meta>
the presence of a pageList in the nav file should be checked. If the nav file has no pageList:
<nav epub:type="page-list" role="doc-pagelist">
a violation should be reported.

@clapierre
Copy link

Agreed, and vice versa, if there is a pagelist in the nav doc there should be a dcsource metadata field even if the source is the digital copy in a purely digital EPUB with no print equivalent.

@laudrain
Copy link
Author

Ace already checks nav page list against dc:source. And it is good!
But do you mean that for a purely digital EPUB, there should be a pageList with a dc:source?
What would then be the dc:source ISBN ?

@clapierre
Copy link

I was told it would be the ISBN of itself in this case where they add in page #'s in the digitally born EPUB with no print equivalent.

@laudrain
Copy link
Author

Be it purely digital or not, pageList existence should be checked, especially when metadata printPageNumbers is setup
In OPF.
Why not always check the presence of a padeList in any case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants