Skip to content

Instantly share code, notes, and snippets.

@HadrienGardeur
Last active July 20, 2021 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HadrienGardeur/7b2ed53b69379bd972250cc40e965f0d to your computer and use it in GitHub Desktop.
Save HadrienGardeur/7b2ed53b69379bd972250cc40e965f0d to your computer and use it in GitHub Desktop.
Accessible FXL publication with reflowable fallbacks
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/# cc: http://creativecommons.org/ns#" version="3.0" dir="ltr" id="package">
<metadata>
<dc:title>Accessible FXL publication with reflowable fallbacks</dc:title>
<meta property="rendition:layout">pre-paginated</meta>
<meta property="rendition:orientation">auto</meta>
<meta property="rendition:spread">auto</meta>
<meta property="schema:accessMode">textual</meta>
<meta property="schema:accessMode">visual</meta>
<meta property="schema:accessModeSufficient">textual,visual</meta>
<meta property="schema:accessModeSufficient">textual</meta>
<meta property="schema:accessibilitySummary">This publication contains alternate resources that are fully accessible for every page.</meta>
</metadata>
<manifest>
<item id="ch1" href="page1.html" fallback="ch1-reflow" media-type="application/xhtml+xml" />
<item id="ch1-reflow" href="page1-reflow.html" media-type="application/xhtml+xml" properties="rendition:layout-reflowable" />
</manifest>
<spine page-progression-direction="ltr">
<itemref id="page1" />
</spine>
</package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment