Introduction

Images and diagrams are essential for careers in the fields of science, technology, engineering, and mathematics. However, these crucial sources of information are not accessible to people with visual disabilities. The alt text attribute is frequently used to provide a summary of an image. However, it is not sufficient for describing complex images. Examples include a diagram of a hydraulic valve or parts of the body such as the kidneys.

While this document primarily focuses on images, extended descriptions can also be used for other complex content, including tables, explanatory videos, and other media. Such content often requires additional context for full understanding.

At this point in time, the most appropriate and cost-effective solution for making complex content accessible is the use of extended descriptions. This enables authors and publishers to provide longer descriptions in well-structured text. The HTML and ARIA specifications already include features that support extended descriptions. However, there are implementation challenges in current web browsers, EPUB 3 reading systems, and assistive technologies. Therefore, we initiated an activity in a DAISY working group for evaluating the implementation shortcomings of different reading environments, and developing the best practices for authoring extended descriptions. These practices enable users to understand images across a wider range of EPUB reading environments.

The recommendations for EPUB 3 environments in this report may differ slightly from those for the web environment. Most EPUB 3 reading systems use components from web browsers. However, reading systems often change or override browser functionality. This results in a different reading experience.

Recommendations

After thorough evaluation, we are able to propose two techniques at this point of time. These techniques worked in a majority of the reading environments. This does not guarantee full support, but these provide a way forward while the web browsers, EPUB reading systems and assistive technologies catch-up.

Recommended technique: Extended description in a separate HTML file with hyperlink

This technique provides extended descriptions in separate HTML file(s) (e.g. and appendix at the end of the e-book, a file containing extended descriptions for each chapter of the publication or even a file for each image). A hyperlink placed below the image in the main content links to the description in the separate file. And a back link placed in the description returns the user to the original reading position in the main content.

This technique is recommended over the use of HTML details element (see Deprecated technique) as it provides better support across reading systems and reduces cognitive load for users.

Advantages:

Disadvantages:

Setting up the main content

By "main content" we refer to the primary content of your EPUB publication (chapters, sections, etc.) where the images that need extended descriptions appear.

Key requirements:

This creates a programmatic relationship that assistive technologies can use to announce the availability of an extended description.

The general pattern is:

Examples

In this section, we provide some examples, which are not exhaustive, of how the code relating to the link to the extended description can be structured in different cases.

Setting up the external file with extended descriptions

Extended descriptions should be placed in separate HTML file(s) that is referenced from the extended description link and with a backlink to the main content. These file(s) can be inserted at the end of the e-book and/or marked as non-linear, meaning that it does not appear when browsing through the e-book. A single HTML file can contain multiple extended descriptions. The content creator can decide whether to collect all the extended descriptions of the publication in a single file, or create one for each chapter or section of the book, or even create a single file for each description.

Each extended description must:

To avoid external files with many extended descriptions becoming too large and creating long load times, multiple files can be used (for example, one per chapter of the publication). These files must be identified in the spine as described below.

EPUB spine configuration

The extended description file can be marked as linear="no" in the EPUB spine (inside the OPF file) to exclude it from the normal reading order.

Example

Alternate technique: Extended description placed just below the image

This technique provides extended descriptions in the same HTML file of the main content, just below the image.

Advantages:

Disadvantages:

Setting up the main content with extended description

In this technique the extended description is placed below the image.

Key requirements:

This creates a programmatic relationship that assistive technologies can use to announce the availability of an extended description.

The general pattern is:

Example

The code patterns shown in the Recommended technique examples (such as images in figure with link in figcaption, multiple images, using an icon) can also be applied to this technique by replacing the link element with the aside element containing the extended description.

Deprecated technique: Extended description in a details element below the image

This technique provides extended descriptions in the same HTML file of the main content, using a details element just below the image. The description is hidden by default and can be expanded by the user.

Advantages:

Disadvantages:

Setting up the main content with extended description

In this technique the extended description is placed below the image in a details element.

Key requirements:

This creates a programmatic relationship that assistive technologies can use to announce the availability of an extended description.

The general pattern is: