Skip to content

Commit

Permalink
Fix typo in "derived" in v12 migration guide (#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingItWrong authored Apr 4, 2023
1 parent c6f976f commit 7eb1114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/MigrationV12.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 7eb1114

Please sign in to comment.