Skip to Content
Accessible EPUB 3
book

Accessible EPUB 3

by Matt Garrish
February 2012
Beginner to intermediate content levelBeginner to intermediate
94 pages
2h 45m
English
O'Reilly Media, Inc.
Content preview from Accessible EPUB 3

A Blank Slate: Canvas

Another anticipated use for scripting is to automate the new HTML5 canvas element. This element provides an automatable surface for drawing on, whether it’s done by the content creator (games, animations, etc.) or the reader (drawing or writing surface), which is why I omitted tackling it with the rest of the semantics and structure elements.

Although a potentially interesting element to use in ebooks, at this time the canvas element remains largely a black hole to assistive technologies. A summary of the discussions that have been taking place to fix the accessibility problems as of writing is available on the Paciello Group website. Fixes for these accessibility issues will undoubtedly come in time, perhaps directly for the element or perhaps through WAI-ARIA, but it’s too soon to say.

So is the answer to avoid the element completely until the problems are solved? It would be nice if you could, but wouldn’t be realistic to expect of everyone. Using it judiciously would be a better course to steer.

For now including accessible alternatives is about all you can do. If you’re using the element to draw graphs and charts, you could add a description with the data using the aria-describedby attribute and the techniques we outlined while dealing with images. If you’re using the element for games and the like, consider the issues we detailed at the outset of the section in determining how much information to give.

With canvas, we really have to wait and see, unfortunately. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What is EPUB 3?

What is EPUB 3?

Matt Garrish
EPUB 3 Best Practices

EPUB 3 Best Practices

Matt Garrish, Markus Gylling
Robust Automatic Speech Recognition

Robust Automatic Speech Recognition

Jinyu Li, Li Deng, Reinhold Haeb-Umbach, Yifan Gong

Publisher Resources

ISBN: 9781449329297Errata