L’élément Caption affiche le titre d’un tableau. Il se place directement dans l’élément Table et s’affiche au-dessus du tableau en HTML et dans le PDF, tout en améliorant l’accessibilité (compatibilité avec les lecteurs d’écran).
Les captions sont nécessaires pour l’accessibilité, alors que les sous-titres dans d’autres langues ne constituent pas directement un aménagement d’accessibilité.
<Table OutputMode="all" Spacing="normal" OutputTarget="all">
<Caption>Titre du tableau</Caption>
<ColumnDefinitions>
<ColumnDefinition Width="25%" />
<ColumnDefinition Width="25%" />
<ColumnDefinition Width="25%" />
<ColumnDefinition Width="25%" />
</ColumnDefinitions>
<TableHeader>
<Tr>
<Th Colspan="1" VerticalAlignment="top" Rowspan="1">
<Paragraph OutputMode="all" Spacing="normal" OutputTarget="all">¤</Paragraph>
</Th>
</Tr>
</TableHeader>
<TableBody>
<Tr>
<Td Colspan="1" VerticalAlignment="top" Rowspan="1">
<Paragraph OutputMode="all" Spacing="normal" OutputTarget="all">¤</Paragraph>
</Td>
</Tr>
</TableBody>
</Table>

