mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Android: Include Component enabled state in AccessibilityNodeInfo.setEnabled
A recent change made disabled components traversable by default when using a screen reader. This change makes TalkBack report such components as disabled.
This commit is contained in:
parent
c7390a400f
commit
07a7c04d54
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ public:
|
|||
|
||||
env->CallVoidMethod (info,
|
||||
AndroidAccessibilityNodeInfo.setEnabled,
|
||||
! state.isIgnored());
|
||||
! state.isIgnored() && accessibilityHandler.getComponent().isEnabled());
|
||||
env->CallVoidMethod (info,
|
||||
AndroidAccessibilityNodeInfo.setVisibleToUser,
|
||||
true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue