Skip to content

Commit 9da0a15

Browse files
docs: queryByRole spell check corrections
1 parent 2eb9777 commit 9da0a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/queries/byrole.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ for those cases where you have several elements with the same role and they
324324
don't have an accessible name but they do have a description.<br /> This would
325325
be the case for elements with
326326
[alertdialog](https://www.w3.org/TR/wai-aria-1.1/#alertdialog) role, where the
327-
`aria-describedby` attribute is used to describe the elements content.
327+
`aria-describedby` attribute is used to describe the element's content.
328328

329329
For example in
330330

@@ -343,7 +343,7 @@ For example in
343343
</body>
344344
```
345345

346-
You can query an specific element like this
346+
You can query a specific element like this
347347

348348
```js
349349
getByrole('alertdialog', {description: 'Your session is about to expire'})

0 commit comments

Comments
 (0)