-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
a11ycompat: react-nativeenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Describe the Feature
Currently when using *ByLabelText
it only gets the label value from accessibilityLabel
props. The goal of this request is to get it also from control referred by accessibilityLabelledBy
prop if present. This props refers to other view using its nativeID
identifier.
Possible Implementations
- expand current
*ByLabelText
predict to analyse bothaccessibilityLabel
and text content of view referenced byaccessibilityLabelledBy
. - in the initial implementation we could assume that target view is
Text
, as most natural type for labels. Later we could use existinggetNodeByText
function to get its text.
Metadata
Metadata
Assignees
Labels
a11ycompat: react-nativeenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is needed