Testing and Validation
There is a wide spectrum of EPUB reader systems currently available, each with different capabilities. Some reader systems support scripting, some do not. One reader system supports webm video, while another has a built-in voice synthesizer.
Reader systems aside, the end users themselves have unique characteristics that must be taken into account. Users may have different subject familiarity, different ability to perceive and understand the content, or different ways to access and interact with the content.
Given the different combinations of reader systems and user ability, how does a content creator ensure that their EPUB content is inclusive and considerate of all these permutations? The short answer: build a good standards compliant EPUB, and test across a variety of systems.
The following table represents a sampling of systems to consider testing with:
- Mobile devices:
- Google Nexus tablets and phones
- Samsung Galaxy Tab
- Apple iPad
- Amazon Kindle Fire
- Reader Software:
- Readium for Chrome browswer - http://readium.org/
- iBooks for Mac OS X and iOS - https://www.apple.com/ca/ibooks/
- Screen Readers:
- NVDA for Windows - http://www.nvaccess.org/
- VoiceOver for Mac OS and iOS
There are a number of reasons why it is important to test a variety of systems and to never assume that because the experience in one system is acceptable, it will be acceptable in other systems, for example:
aria-labelledbyare ignored by NVDA when used on
<math>elements (reference link), but are read aloud by Apple's VoiceOver.
- MathML is rendered fine in Calibre, iBooks, and Lucifox, but appears improperly in Readium ( reference link).
<mover>MathML elements are pronounced as "underneath" instead of "over" in Apple's VoiceOver.
As when building a website, cross-system testing is important to ensure the message and content you want to convey comes across accurately.
Validating an EPUB file will ensure that it conforms to the EPUB specification.