Optional
busyOptional
checkedIf true only includes elements in the query set that are marked as
checked in the accessibility tree, i.e., aria-checked="true"
Optional
currentFilters 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.
Optional
descriptionOnly considers elements with the specified accessible description.
Optional
expandedIf true only includes elements in the query set that are marked as
expanded in the accessibility tree, i.e., aria-expanded="true"
Optional
hiddenIf 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.
Optional
levelIncludes elements with the "heading"
role matching the indicated level,
either by the semantic HTML heading elements <h1>-<h6>
or matching
the aria-level
attribute.
Optional
nameOnly considers elements with the specified accessible name.
Optional
pressedIf true only includes elements in the query set that are marked as
pressed in the accessibility tree, i.e., aria-pressed="true"
Optional
queryIncludes every role used in the role
attribute
For example *ByRole('progressbar', {queryFallbacks: true}) will find <div role="meter progressbar">
.
Optional
selectedIf true only includes elements in the query set that are marked as
selected in the accessibility tree, i.e., aria-selected="true"
Optional
suggestsuppress suggestions for a specific query
Optional
valueOptional
max?: numberOptional
min?: numberOptional
now?: numberOptional
text?: MatcherGenerated using TypeDoc
If true only includes elements in the query set that are marked as busy in the accessibility tree, i.e.,
aria-busy="true"