Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The current accessibility implementation tries to generalize every view's accessibility node info by setting an accessibility delegate on every view -- regardless of whether or not any accessibility properties are set. This delegate however doesn't correctly set the appropriate accessibility node fields for every view. For example, ScrollViews needs AccessibilityNode.setScrollable(true) set, but the generic delegate does not account for this. For now let's avoid unnecessarily setting an accessibility delegate on views that don't have any accessibility props set, which will likely fix the majority of these issues. Reviewed By: mdvacca Differential Revision: D10138128 fbshipit-source-id: b999b41e7256e3dce94cd70e9b944979d52f74fd
- Loading branch information