Skip to content

Commit 199f157

Browse files
authored
fix(byLabelText): wording about the selector (#1245)
1 parent 9150449 commit 199f157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/queries/bylabeltext.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ is robust against switching to `aria-label` or `aria-labelledby`.
9494

9595
### `selector`
9696

97-
If it is important that you query an actual `<label>` element you can provide a
97+
If it is important that you query a specific element (e.g. an `<input>`) you can provide a
9898
`selector` in the options:
9999

100100
```js

0 commit comments

Comments
 (0)