EPUB tips to become an Accessibility SuperHero
Romain Deltour
XML Prague 2016
The book famine
![a bookshelf fool of books](images/bookshelf.png)
![an empty bookshelf](images/bookshelf-empty.png)
Who's impacted?
All of us!
# 1 Structure and semantics
![The Spiderman](images/spiderman.png)
With great
STRUCTURE
comes great ACCESSIBILITY
Beware of overuse
![Thor girl](images/thor-girl.png)
You have a hammer
but
everything is not
a nail!
# 2Navigation
![The Flash girl](images/flash.png)
I can get there...
and I can get there fast!
# 3Alternative content
![Daredevil, practicing](images/daredevil.png)
Some people need
to perceive things
differently
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"/>
Image descriptions
<figure>
<img src="spiderman.jpg"
alt="Spiderman in his red and blue suit"/>
<figcaption>Spider-Man's traditional
red and blue costume is woven with spider
web patterns.
</figcaption>
</figure>
Not everything is an image!
![Thor girl](images/thor-girl.png)
Use HTML tables,
SVG diagrams,
MathML formulas!
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
# 4Metadata
![Dr Manhattan, thinking](images/dr-manhattan.png)
Let me see through
the nature of it
beforehand!
Metadata records
<package … >
<metadata>
…
<link rel="onix-record"
href="EPUB/meta/onix-9781234567890.xml"/>
…
</metadata>
…
</package>
# 5Planification
![Amanda Waller, expert in strategy](images/amanda-waller.png)
It's a process.
You need
to plan for it
# 6Tooling
![The Batman](images/batman.png)
You don't need superpowers...
Use the right
tools!
Some useful tools
- XSLT + XProc FTW!
- DAISY Tobi and Obi
- MathML cloud
- aeneas
Baseline for “Born Accessible” EPUB 3
We want to provide minimum requirements, clear guidance for Publishers, and assurance to consumers on what they can expect.
Kick-off events near Baltimore, Feb 24-25
Thank you!
@rdeltour