Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ expect(getByTestId('parent')).toContainHTML('</span>')
toHaveAccessibleDescription(expectedAccessibleDescription?: string | RegExp)
```

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

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

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

Expand Down