Feature: *ByLabelText
to support accessibilityLabelledBy
#1183
Labels
a11y
compat: react-native
enhancement
New feature or request
hacktoberfest
help wanted
Extra attention is needed
Describe the Feature
Currently when using
*ByLabelText
it only gets the label value fromaccessibilityLabel
props. The goal of this request is to get it also from control referred byaccessibilityLabelledBy
prop if present. This props refers to other view using itsnativeID
identifier.Possible Implementations
*ByLabelText
predict to analyse bothaccessibilityLabel
and text content of view referenced byaccessibilityLabelledBy
.Text
, as most natural type for labels. Later we could use existinggetNodeByText
function to get its text.The text was updated successfully, but these errors were encountered: