Skip to content

Commit eccbfcf

Browse files
author
steven nguyen
authored
fix grammar (#380)
1 parent fc9ce6d commit eccbfcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ expect(getByTestId('parent')).toContainHTML('</span>')
509509
toHaveAccessibleDescription(expectedAccessibleDescription?: string | RegExp)
510510
```
511511

512-
This allows to assert that an element has the expected
512+
This allows you to assert that an element has the expected
513513
[accessible description](https://w3c.github.io/accname/).
514514

515515
You can pass the exact string of the expected accessible description, or you can
@@ -557,7 +557,7 @@ expect(getByTestId('logo')).toHaveAccessibleDescription(
557557
toHaveAccessibleName(expectedAccessibleName?: string | RegExp)
558558
```
559559

560-
This allows to assert that an element is has the expected
560+
This allows you to assert that an element has the expected
561561
[accessible name](https://w3c.github.io/accname/). It is useful, for instance,
562562
to assert that form elements and buttons are properly labelled.
563563

0 commit comments

Comments
 (0)