LI
| Description | Defines an individual list item within a list, containing specific content or a discrete entry. |
|---|---|
| Namespace | 1.7 2.0 |
| Category | 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 'LI' element in Well-Tagged PDF denotes an individual list item within a list. It encapsulates the content of each item.
Each 'LI' should be clearly tagged and maintain its sequential order within the list container to support correct content reflow and extraction.
PDFUA:
In PDF/UA, the 'LI' element ensures that each item in a list is accessible and presented in the correct reading order.
It must be tagged with any necessary alternative text or descriptors to clarify its content for assistive technologies.
Use cases
Simple list example
Try itSimple list. Label is artifacted
Try itHierarchical list is included as a direct child of L element
Try itNested list is included as a child of LBody element
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 list-related structure element is used in a way that does not conform to Table 336 in ISO 32000-1.