Summary: Add screenreader-focusable property to AccessibilityUtil#getAccessibilityNodeInfoData The accessibility hierarchy displays various AccessibilityNodeInfo properties. However, it was missing the screenreader-focusable property. ## Changelog Display screenreader-focusable property in the accessibility hierarchy. Pull Request resolved: https://github.com/facebook/flipper/pull/2925 Test Plan: Test suite passes and code lints. Reviewed By: mweststrate Differential Revision: D31312381 Pulled By: passy fbshipit-source-id: c5044cef6aabe5bd2d2ce5e315f5aafd6990a137
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9ce424adf7
commit
b43dde8a6a
@@ -603,6 +603,7 @@ public final class AccessibilityUtil {
|
|||||||
.put("long-clickable", nodeInfo.isLongClickable())
|
.put("long-clickable", nodeInfo.isLongClickable())
|
||||||
.put("multiline", nodeInfo.isMultiLine())
|
.put("multiline", nodeInfo.isMultiLine())
|
||||||
.put("password", nodeInfo.isPassword())
|
.put("password", nodeInfo.isPassword())
|
||||||
|
.put("screenreader-focusable", nodeInfo.isScreenReaderFocusable())
|
||||||
.put("scrollable", nodeInfo.isScrollable())
|
.put("scrollable", nodeInfo.isScrollable())
|
||||||
.put("selected", nodeInfo.isSelected())
|
.put("selected", nodeInfo.isSelected())
|
||||||
.put("text", nodeInfo.getText())
|
.put("text", nodeInfo.getText())
|
||||||
|
|||||||
Reference in New Issue
Block a user