LIST_ITEM_ROLE

enum
Data Display

The ARIA role a row announces, chosen by its list so the container and its rows can never disagree.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

LIST_ITEM_ROLE.LISTITEM
A row of a plain list. Carries no aria-selected — there is no selection to report.
LIST_ITEM_ROLE.OPTION
A selectable row of a listbox. Carries aria-selected, and aria-disabled when disabled.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

The row reads its role from the list, never sets it

typescript