Accessibility label is not reaching the function that is handling it on iOS #25220
Labels
Bug
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
When adding an accessibilityLabel to a view, on iOS that accessibility label is not reaching the function that is handling the label.
We have discovered this issue while importing a .ipa into Appium Inspector which is an automation testing tool. There the accessibility labels get concatenated, you can see that in this screenshot:
https://ibb.co/Nxq4Cdh
On further inspection, I have found that on the native side, the functions that are handling the accessibility lables don't receive the accessibility labels set.
Other issues opened on this are:
appium/appium#10654
#21830
React Native version: 0.59.5
Steps To Reproduce
React -> Views -> RCTView -> (NSString *)accessibilityLabel
Describe what you expected to happen:
We expect that the
(NSString *)accessibilityLabel
function successfully retrieves the accessibilityLabel and returns it or else theRCTRecursiveAccessibilityLabel
function receives the subviews for the current screenSnack, code example, or link to a repository:
The text was updated successfully, but these errors were encountered: