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

Headings Outline - Fancy headings modelized as images #352

Open
LaZay opened this issue May 27, 2021 · 1 comment
Open

Headings Outline - Fancy headings modelized as images #352

LaZay opened this issue May 27, 2021 · 1 comment

Comments

@LaZay
Copy link

LaZay commented May 27, 2021

Some fancy headings are modelized as images instead of text. This practice is very common in children / young adult publications. There is no HTML problem there, as the heading is not empty. It passes successfully epubcheck 4.2.5 and Ace 1.2.2 Violation sheet.
Unfortunately, in this case, neiher heading's image nor heading's image's alt value is displayed in the Headings Outline.
This prevents human quality control of the Outlines, as the testers do not see any content on the <Hn> they are supposed to check.

Would it be possible:

  • either to display the heading's image (as it shows in the reader)?
  • or to display heading's image's alt value (if easier to implement and display into Ace report)?

This would ensure human quality control of the outlines. Morever, no fake errors will be reported to the EPUB subcontractor, and no bad workaround will be required. Plus, lately, no problem will occur with the independant EPUB certification organisms, which would be misled by the Headings Outline display.

Example:
<section epub:type="chapter" role="doc-chapter"> <h1><img src="Images/chapter1.jpg" alt="chapter 1"/></h1>

Thanks!

@danielweck
Copy link
Member

Hello, sorry for the late reply. This would be a nice improvement. Definitely something to consider for the next round of updates.

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