Link
| Description | Defines a hyperlink or reference to other content, either within the document or to an external resource. |
|---|---|
| Namespace | 1.7 2.0 |
| Category | grouping block inline |
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 'Link' element in Well-Tagged PDF represents interactive hypertext links. It is used to associate clickable areas with actions or destinations within the document or external resources.
Links must include clearly defined actions or destinations, and be accurately embedded within the structure tree to ensure they function properly during content extraction and reflow.
PDFUA:
In PDF/UA, the 'Link' element is crucial for accessibility, as it provides interactive navigation for users. It ensures that links are both visible and operable by assistive technologies.
Each 'Link' element must have an associated action or destination, and include alternate text or descriptions if necessary, to facilitate navigation for users with disabilities.
Use cases
Link used within a paragraph associated with link annotation targeting a website
Try itTag Relationships
Permitted Parent Tags
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 link with a meaningful background does not include alternative text describing both the link and the graphic’s purpose.
- A link annotation is not nested within a Link tag.
- A link annotation does not include an alternate description in the Contents Key.
- The IsMap key is present with a value of true but the functionality is not provided in some other way.