From b763ed97ab0e409af5fd62f7ecc6a8a49af83d4f Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:15:05 +0100 Subject: [PATCH] Stop VoiceOver from reading the screen behind the current call. (#4265) As we're using an overlay for the presentation (to keep the web view alive when minimized), we need to make sure to hide everything behind the overlay from VoiceOver. --- .../Sources/Application/Navigation/NavigationCoordinators.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Application/Navigation/NavigationCoordinators.swift b/ElementX/Sources/Application/Navigation/NavigationCoordinators.swift index 4ed417ab3..c06a31b0f 100644 --- a/ElementX/Sources/Application/Navigation/NavigationCoordinators.swift +++ b/ElementX/Sources/Application/Navigation/NavigationCoordinators.swift @@ -437,6 +437,7 @@ private struct NavigationSplitCoordinatorView: View { module.coordinator?.toPresentable() .id(module.id) } + .accessibilityHidden(navigationSplitCoordinator.overlayModule?.coordinator != nil && navigationSplitCoordinator.overlayPresentationMode == .fullScreen) .overlay { Group { if let coordinator = navigationSplitCoordinator.overlayModule?.coordinator {