Accessible Fixed Layout EPUBs: A New Research Project by Fondazione LIA
Fondazione LIA organized the seminar Accessible illustrated books and where to find them at the 2023 Bologna Children’s Book Fair within the framework of Aldus UP. This event discussed the opportunities and challenges for the publishers producing complex layout books, providing a chance to listen to the experience of the Italian educational publisher Zanichelli and Iperborea’s The Passenger, a series of illustrated books featuring investigative and literary reports and narrative essays that form a portrait of contemporary life in a country and its inhabitants.
This event presented an opportunity to showcase one of the first examples at international level of experimentation of an accessible EPUB Fixed Layout, was realized in collaboration with Edizioni Sonda. The prototype of the ebook was created according to the international guidelines of the W3C (World Wide Web Consortium) and it is the result of ongoing research and development activities done by LIA on how to make digital books accessible to all readers, regardless of their physical or cognitive abilities.
This article discusses the approaches taken in this ground breaking project and is posted with the kind permission of our colleagues at Fondazione LIA.
Accessible Fixed Layout EPUB
When we talk about EPUB accessibility, we usually refer to reflowable EPUBs, for which there are already guidelines defining the accessibility conformity requirements. Talking about fixed layout EPUBs, instead, we refer to a particular kind of digital publication mostly suitable for ebooks with a complex layout. These formats are often used in specific publishing sectors, such as children’s books or comics and, in some cases, textbooks and non-fiction, such as travel guides and recipe books, where the layout drives information to the user. FXL EPUBs can be made in two different ways: SVG or HTML + CSS (sometimes also using JPG or PNG images as pages). They are EPUB 3 files that have been created to replicate the layout of the printed version of the book:
- The size of the live page is set as fixed – it will always be displayed as a certain number of pixels wide and a certain number of pixels high, no matter the screen it is displayed on
- Font and text size are defined by content creators and cannot be changed by users, so that text is displayed (more or less) as designed, regardless of platform or user preference; this does not allow an adequate customization level and therefore it is less suitable for users with low vision
- The user experience is similar to PDFs as it is not responsive
Since 2021 there has been dedicated task force within the W3C, an international working group composed of accessibility and digital publishing experts to study how to make fixed layout (FXL) EPUBs more accessible. One of the task force’s main objectives has been to produce guidelines that can be used by content creators to make accessible FXL EPUBs.
Fondazione LIA Research Project
In 2022 Edizioni Sonda, a member of Fondazione LIA, asked for support in the creation of an accessible digital version of E tu cos’hai di speciale, a children’s book by Horst Klein and Monika Osberghaus focused on inclusion. Even if children’s books (and FXL ebooks) are one of the categories of books that for the European Accessiblity Act are not required to be fully accessible, LIA and Sonda decided to join forces to explore if it was possible to achieve accessible results nevertheless, providing the best reading experience possible to all the readers.
From the initial analysis, it was clear that transforming the book into a reflowable digital version would have impacted usability as the layout itself carries meaning. Thus, LIA proposed to work together to produce an accessible EPUB Fixed Layout.
The project presented numerous challenges that needed to be tackled:
- the identification of the reading order
- efficient alternative description of images
- enriched semantics
- readability
- colour contrast
For this project LIA paid particular attention to the editorial work of drafting the alternative descriptions of the images and the graphic work on colours contrast, in order to make the contents and messages conveyed by illustrations understandable to all.
For image description, LIA worked side by side with the publisher to ensure that the tone of voice and the words chosen were in line with the publishers’ and that all relevant information within each page were conveyed through the alt text.
The colour analysis allowed LIA to identify colour contrasts that were not accessible in the first place and identify accessible solutions, in accordance with the publisher.
After working on the content, we moved on to work on the Adobe InDesign page layout software, which is the software that was used to create the print edition of the book. Here LIA focused the work on four main elements:
- Identification of semantic elements through the use of paragraphs and character styles: so you can distinguish not only visually, but also at the code level a title, from the main text, the table of contents, etc.
- Assigning the correct language to the different portions of text: the text was in Italian, but some words were in English, or German
- Inserting alternate text for images
- Adaptation of colours in the layout to meet accessibility criteria regarding colour contrast
After doing this work, we realized InDesign does not support the export of semantic tags for EPUB FXL (as it is supported for the export of reflowable EPUBs instead), so we worked with “semantic” CSS classes and set up automatic transformations to turn a non-semantic element, into a semantic element:
We’ve also found that InDesign places each word in a <span> element positioned absolutely on the page. The use of many spans makes reading with screen readers not smooth, so we set up an automatic transformation to merge successive span elements and remove absolute positioning references:
The Results
The result was an accessible Fixed Layout EPUB that passes EPUBCheck and Ace by DAISY checks and meets the requirements of Web Content Accessibility Guidelines 2.1 level AA. We also tested the file with some users with disabilities who told us that the user experience was better than an accessible PDF.
Reflowable EPUBs are overall preferable, because they better adapt to the reading needs of users with low vision (enlarging text, changing colours, etc.). This experiment showed that whenever a reflowable EPUB is not feasible, creating a FXL ebook can bring a good level of accessibility especially for those books that are now required to be accessible at the state of the arts.
For the sake of completeness, it is worth adding that one of the additional accessibility requirements related to ebooks set in Session VI of the European Accessibility Act requires ebooks to include dynamic layout and allow flexibility and choice in the presentation of the content; this is not fully fulfilled in the above experiment.
«At Fondazione LIA we are convinced that this prototype represents a major step towards the accessibility of digital books for all and we are very happy that Edizioni Sonda involved us in this project»
commented Gregorio Pellegrino, Chief Accessibility Officer of Fondazione LIA, in charge of the project.
«The 25 stories contained in this book serve as a reminder that, despite our differences, every individual has the right to be who they are. We are glad that, thanks to the collaboration with LIA, girls and boys can browse and read this ebook that means so much to us»
declared Antonio Monaco, publisher of Edizioni Sonda.
The ebook will be soon available in online stores and on LIA catalogue of accessible ebooks: www.catalogo.fondazionelia.org