Skip to main content

Type Alias: ByRoleOptions

ByRoleOptions = TextMatchOptions & object

Defined in: types.ts:52

Options for role-based queries.

Extends text matching options with accessible state filters.

Type Declaration

NameTypeDescriptionDefined in
checked?booleanFilter by checked state (checkboxes, radios, toggles)types.ts:56
expanded?booleanFilter by expanded state (expanders)types.ts:62
level?numberFilter by heading leveltypes.ts:64
name?TextMatchFilter by accessible name/labeltypes.ts:54
pressed?booleanFilter by pressed statetypes.ts:58
selected?booleanFilter by selected statetypes.ts:60