Caption
Attributes
Specifies how the element is placed relative to surrounding content (e.g., block-level or inline flow).
Defines the direction of text flow (e.g., left-to-right, right-to-left, or vertical).
Sets the background color for the element’s content area.
Specifies the color of the border around the element.
Indicates the style of the border (e.g., solid, dashed, dotted).
Defines the thickness of the border line in user space units (such as points).
Determines the space between the element’s border (or boundary) and its inner content.
Applies the primary color (fill or stroke) for the text or graphic content.
Declares an explicit width for the element in user space units.
Declares an explicit height for the element in user space units.
Main indicator of type. This semantic association allows tools to present and support interaction with the object in a manner that is consistent with user expectations about other objects of that type.
Properties
Differences
Well tagged PDF:
The 'Caption' element in Well-Tagged PDF provides a title or summary for a table, offering context and a brief description.
It must be clearly linked to the table it describes and be positioned appropriately within the structure tree to support content extraction.
PDFUA:
In PDF/UA, the 'Caption' element is essential for accessibility as it gives users an overview of the table's purpose and content.
Each table should include a 'Caption' element that is clearly tagged and associated with the table, ensuring that assistive technologies can present this summary to users.
Use cases
Caption element is used to represent the title of table
Try itCaption element is used to represent the title of table
Try itSample showing ordered list with Caption as a child of L element
Try itCaption including substructure, i.e. a single caption including list
Try itCaptions used in nested lists
Try itIndex with Caption element representing the title of the index
Try itFigures with Caption enclosed in Part element
Try itFigure element with Caption used as a block following a paragraph
Try itTag Relationships
Permitted Child Tags
Click on any tag to view its details.
Related Matterhorn Protocol checkpoints
- Tags are not in logical reading order.
- Structure elements are nested in a semantically inappropriate manner. (e.g. a table inside a heading).
- The structure type (after applying any role-mapping as necessary) of a structure element is not semantically appropriate.
- A caption is not tagged with a Caption tag.