Handling Tables as Images in EPUB3: The Accessibility Blueprint
When a table is flattened into an image, a standard screen reader loses the ability to announce row headers, column headers, or let users navigate through cells using keyboard shortcuts. A short snippet of alternative text is rarely enough to describe a vast matrix of data.

To fix this, developers use a multi-tiered approach:
- a descriptive summary via an alt tag
- attribute via an ARIA relationship tag linking to a detailed description, and an interactive structural fallback.
| Region | Projected Revenue ($M) | Actual Revenue ($M) |
|---|---|---|
| NORTH | 12.5 | 14.2 |
| SOUTH | 9.0 | 11.5 |
| EAST | 15.1 | 16.8 |
| WEST | 14.0 | 13.1 |
The html table for figure 3.1
The Code Implementation
The most reliable, accessible pattern utilizes an img tag wrapped in a
figure element, accompanied by a native, collapsibledetails element that contains the full tabular data.
<figure class="table-image-wrapper">
<!-- The image representation of your table -->
<img src="images/q4-financial-report.png"
alt="Table showing Q4 2026 financial performance, comparing projected revenue against actual revenue across four regional sectors."
aria-describedby="table-desc-01" />
<figcaption>Figure 3.1: Q4 2026 Regional Revenue Comparison</figcaption>
<!-- The semantic text fallback for assistive technologies -->
<details id="table-desc-01" class="accessible-table-fallback">
<summary>View data description and full text table</summary>
<p>This table lists four regions with their projected and actual revenue in millions of dollars. Actual revenue exceeded projections in all regions except the West.</p>
<table epub:type="table">
<thead>
<tr>
<th scope="col">Region</th>
<th scope="col">Projected Revenue ($M)</th>
<th scope="col">Actual Revenue ($M)</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">North</th>
<td>12.5</td>
<td>14.2</td>
</tr>
<tr>
<th scope="row">South</th>
<td>9.0</td>
<td>11.5</td>
</tr>
<tr>
<th scope="row">East</th>
<td>15.1</td>
<td>16.8</td>
</tr>
<tr>
<th scope="row">West</th>
<td>14.0</td>
<td>13.1</td>
</tr>
</tbody>
</table>
</details>
</figure>
Deep Dive: Breaking Down the Elements
The alt Attribute: The High-Level Hook
Youralttag should never contain raw data points or lists of numbers, nor should it start with generic phrases like “image of a table”. Instead, it should act as an introductory sentence that tells the user what the table is intending to show.
- Good: alt= “Table comparing global temperatures from 2020 to 2026, illustrating a steady upward trend.”
- Bad:alt= “Table with rows 2020, 2021, 2022 and columns temperature. Click for more.”
The aria-describedby Property: The Connection Link
The aria-describedby=”[ID]” attribute tells assistive software that a longer, comprehensive explanation of the image exists elsewhere on the page. By passing the unique ID of your fallback container (table-desc-01), screen readers can seamlessly prompt users to dive deeper into the raw structural data.
The details andsummary Wrapper: Hidden but Accessible
Putting the full HTML semantic table inside a details tag provides two distinct benefits:
- Visual Neatness: Sighted readers see a clean layout dominated by your beautifully rendered table image, keeping the book’s visual pacing intact.
- Functional Fallback: Screen readers can expand the block to access raw numerical data using native structural shortcuts (like jumping by row or column headers).
Quick Styling Tips for Your CSS
To ensure that the visual fallback doesn’t disrupt the design layout while remaining perfectly legible, apply clean CSS to your print and digital stylesheets:
figure.table-image-wrapper {
margin: 1.5em 0;
text-align: center;
}
figure.table-image-wrapper img {
max-width: 100%;
height: auto;
}
details.accessible-table-fallback {
margin-top: 1em;
padding: 0.5em;
background-color: #f9f9f9;
border: 1px solid #ddd;
text-align: left;
font-size: 0.9em;
}
details.accessible-table-fallback summary {
cursor: pointer;
font-weight: bold;
color: #0066cc;
}
By embedding actual text fallback mechanisms under your graphic representations, you satisfy metadata checks on EPUB validation tools like DAISY Ace and guarantee a highly accessible reading experience for everyone.
