Tooltips added on hover for AX sidebar
Summary: Adds on hover descriptions for some of the more esoteric properties in the accessibility sidebar panel such as accessibility-focused and all the talkback derived properties. Also change talkback-focusable and talkback-ignored to both be talkback-focusable. Differential Revision: D9381676 fbshipit-source-id: 55ce854da24241a7c89b0c122c4c3ebd77438dbb
This commit is contained in:
committed by
Facebook Github Bot
parent
02cf3a90a2
commit
c428de3948
@@ -686,7 +686,7 @@ public final class AccessibilityUtil {
|
||||
public static void addTalkbackProperties(SonarObject.Builder props, View view) {
|
||||
if (!AccessibilityEvaluationUtil.isTalkbackFocusable(view)) {
|
||||
props
|
||||
.put("talkback-ignored", true)
|
||||
.put("talkback-focusable", false)
|
||||
.put("talkback-ignored-reasons", getTalkbackIgnoredReasons(view));
|
||||
} else {
|
||||
props
|
||||
@@ -729,7 +729,7 @@ public final class AccessibilityUtil {
|
||||
if (!AccessibilityEvaluationUtil.isTalkbackFocusable(view)) {
|
||||
String reason = getTalkbackIgnoredReasons(view);
|
||||
return new SonarObject.Builder()
|
||||
.put("talkback-ignored", true)
|
||||
.put("talkback-focusable", false)
|
||||
.put("talkback-ignored-reasons", reason == null ? "" : reason)
|
||||
.build();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user