reactlynx-testing-library / ByRoleOptions
If true only includes elements in the query set that are marked as
busy in the accessibility tree, i.e., aria-busy="true"
index.d.ts:227
If true only includes elements in the query set that are marked as
checked in the accessibility tree, i.e., aria-checked="true"
index.d.ts:232
Filters elements by their aria-current
state. true
and false
match aria-current="true"
and aria-current="false"
(as well as a missing aria-current
attribute) respectively.
index.d.ts:241
Only considers elements with the specified accessible description.
index.d.ts:274
If true only includes elements in the query set that are marked as
expanded in the accessibility tree, i.e., aria-expanded="true"
index.d.ts:246
If true includes elements in the query set that are usually excluded from
the accessibility tree. role="none"
or role="presentation"
are included
in either case.
index.d.ts:217
Includes elements with the "heading"
role matching the indicated level,
either by the semantic HTML heading elements <h1>-<h6>
or matching
the aria-level
attribute.
index.d.ts:252
Only considers elements with the specified accessible name.
index.d.ts:267
If true only includes elements in the query set that are marked as
pressed in the accessibility tree, i.e., aria-pressed="true"
index.d.ts:237
Includes every role used in the role
attribute
For example *ByRole('progressbar', {queryFallbacks: true}) will find <div role="meter progressbar">
.
index.d.ts:263
If true only includes elements in the query set that are marked as
selected in the accessibility tree, i.e., aria-selected="true"
index.d.ts:222
suppress suggestions for a specific query
index.d.ts:211
index.d.ts:253