Misc

All rights are reserved, including those for text and data mining, AI training and similar technologies. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording or by any information storage and retrieval system now known or to be invented, without permission in writing from the publisher. The publisher expressly prohibits the use of this work in connection with the development of any software program, including, without limitation, training a machine learning or generative artificial intelligence (AI) system. 

Extended descriptions

http://diagramcenter.org/best-practices-for-authoring-extended-descriptions.html
http://kb.daisy.org/publishing/docs/html/images-desc.html

For Current Version see See: Accessibility Page

Old versions

Version 1

<figure class="img">
    <img class="im" src="../Images/32_Umbrella.gif" alt="An infographic shows the umbrella of Indigenous resiliency, with various years tied to events that have been significantly harmful to Indigenous Peoples throughout colonization, beginning in seventeen-sixty-three with the Royal Proclamation and ending in two thousand and fifteen: the final report of the Truth and Reconciliation Commission. Drops fall from the bottom of the umbrella, each labelled with some element of suffering Indigenous people have endured as a result of colonial oppression. The handle of the umbrella has four words: self, family, community, and culture." aria-details="image1-extended-desc"/>
    </figure>

<details id="image1-extended-desc">
    <summary>Extended Description</summary>
    <p>Infographic. The events mentioned on the umbrella of indigenous resiliency are as follows: 1763: Royal proclamation. 1831: First residential school opens. 1867: BNA act and confederation. 1876: Indian act. 1884: Potlatch ceremony made illegal. 1885: North-West rebellion. 1885: Pass system instituted. 1894: Changes to the Indian act allow the government to commit children to residential schools. 1918: Changes to the Indian act allow the government to lease vacant land to non-indigenous people. 1927: Changes to the Indian act outlaw fundraising by Bands to pay litigation costs for land claims. 1951: Indian act undergoes major revisions: 1. Indigenous women are now able to vote in band elections and run for band positions. 2. Ceremonies are no longer illegal. 1960: Indigenous people receive the right to vote in national elections. The 1960s: The sixties scoop. 1982: The constitution defines Metis as indigenous people. 1985: Bill C-31 passes. 1990: OKA crisis. 1996: Last residential school closes. 2005: Residential schools class-action lawsuit. 2006: IRSSA. 2008: The Apology. 2009: TRC launch. 2015: TRC final report. 2017: UNDRIP. 2019: MMIWG Inquiry Report. The words that below the raindrops are as follows: Poverty, lack of parenting skills, loss of culture, traditions, and language, addictions, suicide, family violence, low literacy levels: school dropout, unemployment, abuses: child, elder, and power, and loss of hope. The words on the handle read, self, family, community, and culture.</p>
</details>

Version 2

  • can use an image as the link
<figure class="img">
    <img  class="im" src="../Images/32_Umbrella.gif" alt="An infographic shows the umbrella of Indigenous resiliency, with various years tied to events that have been significantly harmful to Indigenous Peoples throughout colonization, beginning in seventeen-sixty-three with the Royal Proclamation and ending in two thousand and fifteen: the final report of the Truth and Reconciliation Commission. Drops fall from the bottom of the umbrella, each labelled with some element of suffering Indigenous people have endured as a result of colonial oppression. The handle of the umbrella has four words: self, family, community, and culture."/>
        <figcaption><a href="desc/fig-01.html">Description</a></figcaption>

</figure>

Sigil PageList plugin

{
  "tag": "span",
  "attribute": "epub:type",
  "value": "pagebreak"
}

or

{
  "tag": "span",
  "attribute": "class",
  "value": "com-rorohiko-pagestaker-style"
}

InDesign Export Settings

1. General

  • Version: EPUB 3.0
  • Cover: choose image
  • Navigation TOC: Multi Level (TOC Style)
    • TOC Style: choose
  • Page Navigation: uncheck

2. Text

  • Options: check Remove Forced Line Breaks
  • Lists: set both to Map to lists

3. Object

  • Preserve Appearance from Layout: check
  • Use Existing Image for Graphic Objects: uncheck
  • CSS (irrelevant at his point)
    • CSS Size: Relevant to Text Flow
  • Ignore Object Export Settings: uncheck

4. Conversion Settings

  • Format: Automatic
  • Resolution: 150ppi (sometimes 300 ppi)
  • JPEG Options
    • Format Method: PRogressive
    • Image Quality: High
  • GIF Options (irrelevant)

5. HTML & CSS

  • Don't include classes in HTML: uncheck
  • Include classes in HTML: check
    • Generate CSS: check
    • Page Margin: all 0s
  • Preserve Local Overrides: uncheck
  • Include Embeddable Fonts: check

6. Javascript

  • irrelevant

7. Metadata

  • irrelevant

8. Viewing App

  • irrelevant

SVG images

<svg
     xmlns="http://www.w3.org/2000/svg"
     xml:lang="en" lang="en">
   <title>The New EPUB Logo</title>
   <desc>
      The EPUB logo is a lower-case letter E that has 
      been tilted 45 degrees to counter-clockwise so 
      that it appears to be sitting in balance on its 
      lower-left corner. The E is drawn as a single, 
      unclosed line of green starting at the centre 
      of the image, moving to the outer edge and then 
      continuing around in a box-like pattern. The
      external corners have all been rounded.
   </desc>
   …
</svg>

New epub Spec changes

Old:
```printPageNumbers


**New spec**  
```<meta property="schema:accessibilityFeature">pageBreakMarkers</meta>

Old:

<dc:source id="src">urn:isbn:9781234567891</dc:source>
<meta property="source-of" refines="#src">pagination</meta>

New spec (not yet):

<meta property="pageBreakSource">urn:isbn:9780000000000</meta>

new features to consider

<meta property="schema:accessibilityFeature">pageNavigation</meta>
<meta property="schema:accessibilityFeature">annotations</meta> ```
(for extended desc. etc. that improve accessibility)


**page list:**  
Aria role not necessary with separate nav.xhtml