diff --git a/modules/juce_gui_basics/components/juce_Component.cpp b/modules/juce_gui_basics/components/juce_Component.cpp index edc47290a7..176c13d09d 100644 --- a/modules/juce_gui_basics/components/juce_Component.cpp +++ b/modules/juce_gui_basics/components/juce_Component.cpp @@ -1702,6 +1702,9 @@ void Component::enterModalState (bool shouldTakeKeyboardFocus, if (shouldTakeKeyboardFocus) grabKeyboardFocus(); + + if (auto* handler = getAccessibilityHandler()) + notifyAccessibilityEventInternal (*handler, InternalAccessibilityEvent::focusChanged); } else {