You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/Queries.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ title: Queries
30
30
-[Precision](#precision)
31
31
-[Normalization](#normalization)
32
32
-[Unit testing helpers](#unit-testing-helpers)
33
-
-[`UNSAFE_ByType`](#unsafebytype)
34
-
-[`UNSAFE_ByProps`](#unsafebyprops)
33
+
-[`UNSAFE_ByType`](#unsafe_bytype)
34
+
-[`UNSAFE_ByProps`](#unsafe_byprops)
35
35
36
36
## Variants
37
37
@@ -272,8 +272,8 @@ getByLabelText(
272
272
```
273
273
274
274
Returns a `ReactTestInstance` with matching label:
275
-
- either by matching [`accessibilityLabel`](https://reactnative.dev/docs/accessibility#accessibilitylabel) prop
276
-
- or by matching text content of view referenced by [`accessibilityLabelledBy`](https://reactnative.dev/docs/accessibility#accessibilitylabelledby-android) prop
275
+
- either by matching [`aria-label`](https://reactnative.dev/docs/accessibility#aria-label)/[`accessibilityLabel`](https://reactnative.dev/docs/accessibility#accessibilitylabel) prop
276
+
- or by matching text content of view referenced by [`aria-labelledby`](https://reactnative.dev/docs/accessibility#aria-labelledby-android)/[`accessibilityLabelledBy`](https://reactnative.dev/docs/accessibility#accessibilitylabelledby-android) prop
0 commit comments