EPUB Accessibility
Romain Deltour – DAISY
Auto-WCAG Workshop, July 2016
A brief history
- OEBPS
- OEBPS 1.1
- OEBPS 2.2
- EPUB begins
- EPUB 2.0
- EPUB 2.0.1
- EPUB 3
- EPUB 3.0.1
- EPUB 3.1
Focus on accessibility.
Convergence with the web.
Future: IDPF + W3C merger?
@idpfmemes ♥ @w3cmemes
So, What is EPUB?
A distribution and interchange format standard for digital publications and documents, developped by IDPF.
A (static) website in a ZIP
- XHTML documents + Navigation
- CSS
- Other Resources
- Manifest
- mimetype
META-INF/container.xml
$ unzip -l foo.epub Archive: foo.epub Length Date Time Name -------- ---- ---- ---- 20 04-20-16 10:02 mimetype 952 04-20-16 10:02 EPUB/1-cover.xhtml 685 04-20-16 10:02 EPUB/2-titlepage.xhtml 3462 04-20-16 10:02 EPUB/3-chap1.xhtml 1736 04-20-16 10:02 EPUB/4-chap2.xhtml 4507 03-18-16 22:36 EPUB/css/styles.css 139681 03-18-16 23:44 EPUB/images/cover.jpg 3692 11-30-15 14:37 EPUB/images/header.png 28599 11-30-15 14:40 EPUB/images/logo.png 44086 12-01-15 13:04 EPUB/image/table.png 5291 04-20-16 10:02 EPUB/package.opf 236 04-20-16 10:02 META-INF/container.xml -------- ------- 232947 12 files
A family of specifications
One spec to rule them allhttp://www.idpf.org/epub/31/spec/epub-spec.html
- EPUB Open Container Format (OCF)
- EPUB Publications
- EPUB Content Documents (incl. Navigation Document)
- EPUB Media Overlays
- EPUB Specification
- EPUB Open Container Format (OCF)
- EPUB
PublicationPackage (incl. Navigation Document) - EPUB Content Documents
- EPUB Media Overlays
EPUB accessibility primer
(to become an a11y superhero)
# 1 Structure and semantics
# 2Navigation
# 3Alternative content
Image descriptions
<p id="spiderman">Spider-Man's traditional
red and blue costume is woven with spider
web patterns.</p>
<p>.... </p>
<img src="spiderman.jpg"
alt="Spiderman in his red and blue suit"
aria-describedby="spiderman"/>
Media overlays
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0">
<body>
<par id="par1">
<text src="chapter1.xhtml#sentence1"/>
<audio src="chapter1_audio.mp3"
clipBegin="0s" clipEnd="10s"/>
</par>
<par id="par2">
<text src="chapter1.xhtml#sentence2"/>
<audio src="chapter1_audio.mp3"
clipBegin="10s" clipEnd="20s"/>
</par>
...
</body>
</smil>
Media overlays – Demo
# 4TTTS (theoretically, TTS)
SSML annotations
<p>
The guitarist was playing a
<span ssml:ph="beIs">bass</span> that was shaped
like a <span ssml:ph="b&s">bass</span>.
</p>
# 4Metadata
Metadata records
<package … >
<metadata>
…
<link rel="onix-record"
href="EPUB/meta/onix-9781234567890.xml"/>
…
</metadata>
…
</package>
Accessibility Metadata
accessMode
+ (proposed)accessibilityFeature
+accessibilityHazard
+accessibilitySummary
(proposed)accessModeSufficient
* (proposed)accessibilityAPI
* (proposed)accessibilityControl
* (proposed)
+
linked external records
Accessibility
work in progress
epubtest.org
W3C DPUB Accessibility Note
EPUB Accessibility specification
http://www.idpf.org/epub/latest/accessibility (ED)
- evaluation and certification of accessible EPUB Publications
- discovery of the accessible qualities of EPUB Publications
EPUB Accessibility specification
3 categories of conformance:
- Discovery-enabled publications
- Accessible publications
- Optimized publications
Conformance of Accessible publications
- WCAG A is a MUST, AA is a SHOULD
- WCAG for each doc and for the publication
- + structured audio playback
- + page markers
EPUB Accessibility Techniques
http://www.idpf.org/epub/latest/accessibility-techniques (ED)
EPUB Accessibility Checker
- For publishers and service providers
- For distributors and consumers
- Open source, 2-year timeframe
Requirementsopen of comments!
Resources
- EPUB accessibility guidelines: http://www.idpf.org/accessibility/guidelines/
- EPUB Accessibility specification (ED):http://www.idpf.org/epub/latest/accessibility
- EPUB Accessibility Techniques (ED):http://www.idpf.org/epub/latest/accessibility-techniques
- BISG Quick Start Guide
- http://inclusivepublishing.org/
Questions?
@rdeltour