diff --git a/docs/queries/byrole.mdx b/docs/queries/byrole.mdx index c40ff6469..38bc83b08 100644 --- a/docs/queries/byrole.mdx +++ b/docs/queries/byrole.mdx @@ -181,13 +181,13 @@ For example in ```html ``` -you can get the "👍" link by calling `getByRole('link', { current: true })` and +you can get the "👍" link by calling `getByRole('link', { current: 'page' })` and the "👎" by calling `getByRole('link', { current: false })`. To learn more about the current state see [ARIA `aria-current`](https://www.w3.org/TR/wai-aria-1.2/#aria-current).