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.
This commit is contained in:
Doug
2025-06-27 11:15:05 +01:00
committed by GitHub
parent 5d8875c12c
commit b763ed97ab

View File

@@ -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 {