diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityRoleUtil.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityRoleUtil.java index 86095befc24f4c..949e009d86fe87 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityRoleUtil.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityRoleUtil.java @@ -34,6 +34,7 @@ public enum AccessibilityRole { LINK("android.widget.Button"), SEARCH("android.widget.EditText"), IMAGE("android.widget.ImageView"), + IMAGEBUTTON("android.widget.ImageView"), KEYBOARDKEY("android.inputmethodservice.Keyboard$Key"), TEXT("android.widget.ViewGroup"), ADJUSTABLE("android.widget.SeekBar"); @@ -91,6 +92,10 @@ public static void setRole(AccessibilityNodeInfoCompat nodeInfo, final Accessibi if (role.equals(AccessibilityRole.IMAGE)) { nodeInfo.setRoleDescription("Image"); } + if (role.equals(AccessibilityRole.IMAGEBUTTON)) { + nodeInfo.setRoleDescription("Button Image"); + nodeInfo.setClickable(true); + } if (role.equals(AccessibilityRole.ADJUSTABLE)) { nodeInfo.setRoleDescription("Adjustable"); }