Skip to content

Commit 55e0721

Browse files
authored
docs: Fix c&p typos (checked -> expanded) (#732)
1 parent e82b2ae commit 55e0721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/dom-testing-library/api-queries.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,9 +837,9 @@ For example in
837837
```
838838

839839
you can get the "Expandable Menu Item" link by calling
840-
`getByRole('link', { expanded: false })`. To learn more about the checked state
840+
`getByRole('link', { expanded: false })`. To learn more about the expanded state
841841
and which elements can have this state see
842-
[ARIA `aria-checked`](https://www.w3.org/TR/wai-aria-1.2/#aria-expanded).
842+
[ARIA `aria-expanded`](https://www.w3.org/TR/wai-aria-1.2/#aria-expanded).
843843

844844
```html
845845
<div role="dialog">...</div>

0 commit comments

Comments
 (0)