From 06ca1156e13124ccfdc6c9a1af3499d74234d6b8 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 1 Sep 2021 16:33:00 +0100 Subject: [PATCH] macOS Accessibility: Always set our NSWindow as accessible so its title bar is navigable --- modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index f6bcb31d26..2724b50bd8 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -101,7 +101,7 @@ public: if (@available (macOS 10.10, *)) #endif { - [window setAccessibilityElement: component.getAccessibilityHandler() != nullptr]; + [window setAccessibilityElement: YES]; } #endif