daisy / ace

Ace by DAISY, an Accessibility Checker for EPUB
MIT License
74 stars 22 forks source link

epub-pagelist-order error #375

Closed ptytgat closed 1 year ago

ptytgat commented 2 years ago

ACE 1.2.7 indicates an error in the nav.xhtml file of our epubs, which are compliant with ACE 1.2.6 The error is generated by the rule epub-pagelist-order I suppose that ACE 1.2.7 has more checks of

danielweck commented 2 years ago

Hello, the specification is available at this link https://www.w3.org/TR/2022/CRD-epub-a11y-11-20220607/#sec-page-list

The Ace message includes a reference to the problematic element. Use this information to find the navigation document page list hyperlink which is out of order (relative to the HTML page breaks), or to find missing page breaks which could be the result of authoring typos (e.g. misspelled HTML element id). There is also a check for page breaks that have missing page list hyperlinks, so the coverage check is complete both ways.

Please feel free to send me your EPUB so I can verify at my end: daniel.weck@gmail.com

vincent-gros commented 2 years ago

@ptytgat, most of the time when you see an 'epub-pagelist-order' on an ordered pagelist (I suppose this is the case based on what I know), it is because you list non-pagebreaks links. Check your cover and titlepage to fix the issue.

danielweck commented 1 year ago

Fixed, see https://github.com/daisy/ace/issues/379