From c7fd804e654548ae907f79c1966ff2029f9f6689 Mon Sep 17 00:00:00 2001 From: Josh Justice Date: Wed, 29 Mar 2023 08:49:53 -0400 Subject: [PATCH] Fix typo in "derived" in v12 migration guide --- website/docs/MigrationV12.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/MigrationV12.md b/website/docs/MigrationV12.md index 977ae4f93..ba7fcc657 100644 --- a/website/docs/MigrationV12.md +++ b/website/docs/MigrationV12.md @@ -17,7 +17,7 @@ Elements that are hidden from accessiblity, e.g. elements on non-active screen w Previous behaviour of matching hidden elements can be enabled on query level using [includeHiddenElements](api-queries#includehiddenelements-option) query options or globally using `defaultIncludeHiddenElements`(api#defaultincludehiddenelements-option) configuration option. ## 2. `*ByRole` queries now return only accessibility elements -`*ByRole` queries now return only accessibility elements, either explicitly marked with `accessible` prop or implicit ones where this status is derrived from component type itself (e.g `Text`, `TextInput`, `Switch`, but not `View`). +`*ByRole` queries now return only accessibility elements, either explicitly marked with `accessible` prop or implicit ones where this status is derived from component type itself (e.g `Text`, `TextInput`, `Switch`, but not `View`). You may need to adjust relevant components under test to make sure they pass `isAccessibilityElement` check.