Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-implement accessibilityHint on Android to use AccessibililltyNodeI…
…nfo#setToolTipText instead of contentDescription (#34427) Summary: #31056 (comment) >Re-implement accessibilityHint on Android so that rather that concatenate into the contentDescription, it sets the toolTipText property on the AccessibilityNodeInfo (not on the view). This is the closest analog to iOS's hint that Android has, as the text is announced after the contentDescription rather than part of it. It will will not adhere to users preferences on whether they want hints disabled or not, and still has no pause before it like real hints have, but it's far closer than using the contentDescription directly. fixes #31056 ## Changelog [Android] [Fixed] - Re-implement accessibilityHint on Android to use AccessibililltyNodeInfo#setToolTipText instead of contentDescription Pull Request resolved: #34427 Test Plan: https://user-images.githubusercontent.com/24992535/184837154-5c65dbf1-1031-4d56-ac1e-066af7e08edc.mp4 Reviewed By: christophpurrer Differential Revision: D38982158 Pulled By: cipolleschi fbshipit-source-id: 7a616e6df9f83bd21ca02cc26b5918986a1d64f8
- Loading branch information