voice over can now read the screenshot in bug report screen

This commit is contained in:
Mauro Romito
2025-07-21 11:48:32 +02:00
committed by Mauro
parent 84ccf85441
commit 9c52334772
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -1222,6 +1222,8 @@ internal enum L10n {
internal static func screenBottomSheetManageRoomMemberUnbanningUser(_ p1: Any) -> String {
return L10n.tr("Localizable", "screen_bottom_sheet_manage_room_member_unbanning_user", String(describing: p1))
}
/// Screenshot
internal static var screenBugReportA11yScreenshot: String { return L10n.tr("Localizable", "screen_bug_report_a11y_screenshot") }
/// Attach screenshot
internal static var screenBugReportAttachScreenshot: String { return L10n.tr("Localizable", "screen_bug_report_attach_screenshot") }
/// You may contact me if you have any follow up questions.
@@ -107,6 +107,7 @@ struct BugReportScreen: View {
.frame(width: 100)
.cornerRadius(4)
.accessibilityIdentifier(A11yIdentifiers.bugReportScreen.screenshot)
.accessibilityLabel(L10n.screenBugReportA11yScreenshot)
.overlay(alignment: .topTrailing) {
Button { context.send(viewAction: .removeScreenshot) } label: {
CompoundIcon(\.close, size: .small, relativeTo: .compound.bodyMD)