We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like in @testing-library/dom (see docs), we should support accessibility states when querying by role.
@testing-library/dom
The accessibilityStates existing are
disabled
selected
checked
busy
expanded
We could like in DTL check which states correspond to which role and throw. But I'd treat that as a bonus and not a necessity.
#1133
The text was updated successfully, but these errors were encountered:
A11y
Successfully merging a pull request may close this issue.
Describe the Feature
Like in
@testing-library/dom
(see docs), we should support accessibility states when querying by role.The accessibilityStates existing are
disabled
: Indicates whether the element is disabled or notselected
: Indicates whether a selectable element is currently selected or notchecked
: Indicates the state of a checkable element.busy
: Indicates whether an element is currently busy or notexpanded
: Indicates whether an expandable element is currently expanded or collapsedPossible Implementations
We could like in DTL check which states correspond to which role and throw. But I'd treat that as a bonus and not a necessity.
Related Issues
#1133
The text was updated successfully, but these errors were encountered: