Skip to main content

Span

Description

A generic inline container that groups text or other inline elements without imparting any additional semantic meaning.

Namespace
1.7
2.0
Category
inline

Differences

Well tagged PDF:

The 'Span' element serves as a generic inline container in Well-Tagged PDF for grouping text or other inline elements that do not have a more specific semantic role.

It should be used when no other specialized element is appropriate, ensuring that all inline content is properly encapsulated and logically structured.


PDFUA:

In PDF/UA, 'Span' provides a fallback for inline grouping when no other semantic element is applicable, supporting a coherent reading order.

Usage of 'Span' should be minimized in favor of more specific tags, but when used, it must be clearly defined within the structure tree to maintain accessibility.

Use cases

Span element is used to identify expansion text for a small object

Try it

Span element with layout attributes that identifis the change of styling

Try it

Tag Relationships

Related Matterhorn Protocol checkpoints