TOC
| Description | Represents a table of contents that lists the major sections or topics of the document, serving as an entry point for navigation. |
|---|---|
| Namespace | 1.7 |
| Category | grouping |
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.
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.
Differences
Well tagged PDF:
The 'TOC' element in Well-Tagged PDF represents a Table of Contents, outlining the major sections of the document.
It must be structured with links or references to corresponding sections and integrated within the overall structure tree to support content reflow and extraction.
PDFUA:
In PDF/UA, the 'TOC' element is critical for navigation, providing an accessible summary of the document's structure.
The table of contents must include clear headings, navigational links, and alternative text descriptions so that assistive technologies can easily guide users through the document.
Use cases
Simple Table of Contents with nested entries
Try itTable of Contents entry with label for numbered TOCI
Try itTable of Contents entry with link annotations
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 TOC-related structure element is used in a way that does not conform to Table 333 in ISO 32000-1.