diff --git a/types/queries.d.ts b/types/queries.d.ts index 970956a5..ee60c6bd 100644 --- a/types/queries.d.ts +++ b/types/queries.d.ts @@ -53,6 +53,11 @@ export interface ByRoleOptions extends MatcherOptions { * in either case. */ hidden?: boolean; + /** + * If true only includes elements in the query set that are marked as + * selected in the accessibility tree, i.e., `aria-selected="true"` + */ + selected?: boolean; /** * Includes every role used in the `role` attribute * For example *ByRole('progressbar', {queryFallbacks: true})` will find
`.