Skip to content

feat(byRole): add documentation for new option (aria-current) of ByRole queries #822

New issue

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

Merged

Conversation

savcni01
Copy link
Contributor

@savcni01 savcni01 commented May 5, 2021

This PR adds documentation for feature added at: testing-library/dom-testing-library#943

The feature added according to:
testing-library/dom-testing-library#864

`true`, `false`

You can filter the returned elements by their current status by setting
`current: true` (for any valid value) or `current: false` (for false).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we changing this to support any aria-current value as @eps1lon suggested?

@eps1lon eps1lon merged commit a888cd8 into testing-library:main Aug 25, 2021
@eps1lon
Copy link
Member

eps1lon commented Aug 25, 2021

@all-contributors add @savcni01 for docs

@allcontributors
Copy link
Contributor

@eps1lon

I've put up a pull request to add @savcni01! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants