a11y announcement of a time limit when the session verification request appears.

This commit is contained in:
Mauro Romito
2025-07-08 17:31:59 +02:00
committed by Mauro
parent b816f0cf56
commit 61a8ab44d2
3 changed files with 8 additions and 0 deletions
@@ -31,6 +31,11 @@ struct SessionVerificationScreen: View {
.interactiveDismissDisabled()
.navigationBarBackButtonHidden(context.viewState.verificationState == .verified)
.toolbar { toolbar }
.onAppear {
var announcement = AttributedString(L10n.a11yTimeLimitedActionRequired)
announcement.accessibilitySpeechAnnouncementPriority = .high
AccessibilityNotification.Announcement(announcement).post()
}
}
// MARK: - Private