Accessible Publishing Knowledge Base

Tables

Summary

...

Techniques

In the same way that XHTML tables provide markup structure that can be navigated by users using assistive technologies, so too must Media Overlay documents provide equivalent skippability and escapability functionality through markup to facilitate playback.

This structure can be layered into an overlay using seq elements to represent the corresponding rows and cells in the markup. The typical process for converting table markup to overlay markup follows:

Example

Example 1 — A comparison of XHTML table markup to overlay table markup

<table>
   <tr>
	  <td>
		 <p>…</p>
		 <p>…</p>
	  </td>
	  <td>…</td>
	  <td>
		 <ul>
			<li>…</lt>
		 </ul>
	  </td>
   </tr>
</table>
<seq epub:type="table">
   <seq epub:type="table-row">
	  <seq epub:type="table-cell">
		 <par>…</par>
		 <par>…</par>
	  </seq>
	  <par epub:type="table-cell">…</par>
	  <seq epub:type="table-cell">
		 <seq epub:type="list">
			<par epub:type="list-item">…</par>
		 </seq>
	  </seq>
   </seq>
</seq>

References