Skip to main content

<altRepresentation>


  • Date:
    16/03/2026
  • Modified:
    22/05/2026
  • Category:
    Elements

The <altRepresentation> element provides a way to attach an alternative version of existing content. Use the <altRepresentation> element to add an alternative representation to an <img> or <table> element.

Notes

Text in image should be processed within<altRepresentation>. Except for legends in images, as legend has its own dedicated element <legend>. See Legend.

Examples

Conversation
When a conversation is presented using a table, format the dialogue as a table. In addition, include an altRepresentation element that provides the same conversation as a list. If the speakers are not named in the table, label them as “A:” and “B:” in the list.
<table>
  <tr>
    <td>Bonjour Benoît!</td>
    <td>Bonjour.</td>
  </tr>
  <tr>
    <td>C'est bien, Saint-Martin?</td>
    <td>Oui, c'est bien. Voice les photos. Regarde. Il y a un camping avec une piscine.</td>
  </tr>
  <tr>
    <td>Où est la piscine?</td>
    <td>Elle est à gauche.</td>
  </tr>
  <tr>
    <td>Il y a des restaurants?</td>
    <td>Oui, il y a un restaurant avec une terrasse.</td>
  </tr>
  <tr>
    <td>Où est le restaurant?</td>
    <td>Il est à droite. L'hôtel est aussi à droite.</td>
  </tr>
  <tr>
    <td>Et où est le terrain de foot?</td>
    <td>Il est à gauche. C'est super, le football !</td>
  </tr>
  <altRepresentation>
    <list listType="unordered" bulletType="none">
      <li>A: Bonjour Benoît!</li>
      <li>B: Bonjour.</li>
      <li>A: C'est bien, Saint-Martin?</li>
      <li>B: Oui, c'est bien. Voici les photos. Regarde. Il y a un camping avec une piscine.</li>
      <li>A: Où est la piscine?</li>
      <li>B: Elle est à gauche.</li>
      <li>A: Il y a des restaurants?</li>
      <li>B: Oui, il y a un restaurant avec une terrasse.</li>
      <li>A: Où est le restaurant?</li>
      <li>B: Il est à droite. L'hôtel est aussi à droite.</li>
      <li>A: Et où est le terrain de foot?</li>
      <li>B: Il est à gauche. C'est super, le football!</li>
    </list>
  </altRepresentation>
</table>
Image with text in image
<figure>
  <img src="/img/000000.jpg" alt="" role="informative" type="photo">
  <altRepresentation>
    <p>rolmaat</p>
    <p>schuifmaat</p>
    <p>meetlint</p>
    <p>duimstok</p>
    <p>liniaal</p>
    <p>geodriehoek</p>
  </altRepresentation>
  </img>
</figure>

  • Date:
    16/03/2026
  • Modified:
    22/05/2026
  • Category: