Since I'm fighting with this issue for several days now, I finally created a simple sample project to reproduce my problem. The issue is that accessibilityElementsHidden doesn't seem to be working in Texture. In the sample project you can see a simple hierarchy with two overlapping nodes containing a text node (which is accessible). When setting accessibilityElementsHidden to true for the underlying node, the text node (which is a direct subnode) should not be accessible via UITests/VoiceOver etc. but with the AccessbilityInspector you can easily verify that it's still accessible.
The weird thing is that the properties are correctly synced to the underlying UIViews, so
p (BOOL)[(UIView *)0x7fd573216310 accessibilityElementsHidden] will be YES for the address of the node1's view.
The second tab shows the expected behavior in UIKit: The label1 is not accessible, since it's superview has accessibilityElementsHidden set to true.
Texture Version: Texture (2.5.1)
AccessibilityBug.zip
Since I'm fighting with this issue for several days now, I finally created a simple sample project to reproduce my problem. The issue is that
accessibilityElementsHiddendoesn't seem to be working in Texture. In the sample project you can see a simple hierarchy with two overlapping nodes containing a text node (which is accessible). When settingaccessibilityElementsHiddentotruefor the underlying node, the text node (which is a direct subnode) should not be accessible via UITests/VoiceOver etc. but with the AccessbilityInspector you can easily verify that it's still accessible.The weird thing is that the properties are correctly synced to the underlying UIViews, so
p (BOOL)[(UIView *)0x7fd573216310 accessibilityElementsHidden]will beYESfor the address of the node1's view.The second tab shows the expected behavior in UIKit: The label1 is not accessible, since it's superview has
accessibilityElementsHiddenset totrue.Texture Version: Texture (2.5.1)
AccessibilityBug.zip