EPUB tips to become an Accessibility SuperHero
Romain Deltour
XML Prague 2016
The book famine


Who's impacted?
All of us!
# 1 Structure and semantics

With great
STRUCTURE
comes great ACCESSIBILITY
Beware of overuse

You have a hammer
but
everything is not
a nail!
# 2Navigation

I can get there...
and I can get there fast!
# 3Alternative content

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!

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

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

It's a process.
You need
to plan for it
# 6Tooling

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