File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ expect(getByTestId('parent')).toContainHTML('</span>')
509
509
toHaveAccessibleDescription (expectedAccessibleDescription ?: string | RegExp )
510
510
```
511
511
512
- This allows to assert that an element has the expected
512
+ This allows you to assert that an element has the expected
513
513
[ accessible description] ( https://w3c.github.io/accname/ ) .
514
514
515
515
You can pass the exact string of the expected accessible description, or you can
@@ -557,7 +557,7 @@ expect(getByTestId('logo')).toHaveAccessibleDescription(
557
557
toHaveAccessibleName (expectedAccessibleName ?: string | RegExp )
558
558
```
559
559
560
- This allows to assert that an element is has the expected
560
+ This allows you to assert that an element has the expected
561
561
[ accessible name] ( https://w3c.github.io/accname/ ) . It is useful, for instance,
562
562
to assert that form elements and buttons are properly labelled.
563
563
You can’t perform that action at this time.
0 commit comments