Skip to main content

Type Alias: ByRoleOptions

ByRoleOptions = TextMatchOptions & object

Defined in: types.ts:53

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:57
expanded?booleanFilter by expanded state (expanders)types.ts:63
level?numberFilter by heading leveltypes.ts:65
name?TextMatchFilter by accessible name/labeltypes.ts:55
pressed?booleanFilter by pressed statetypes.ts:59
selected?booleanFilter by selected statetypes.ts:61