diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 9b87f5eb7..e4f19926f 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -457,6 +457,7 @@ "screen_bottom_sheet_manage_room_member_unban_member_confirmation_description" = "They would be able to join the room again if invited"; "screen_bottom_sheet_manage_room_member_unban_member_confirmation_title" = "Are you sure you want to unban this member?"; "screen_bottom_sheet_manage_room_member_unbanning_user" = "Unbanning %1$@"; +"screen_bug_report_a11y_screenshot" = "Screenshot"; "screen_create_poll_option_accessibility_label" = "%1$@: %2$@"; "screen_create_poll_options_section_title" = "Options"; "screen_create_poll_remove_accessibility_label" = "Remove %1$@"; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index 846de8ade..fe8dac861 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -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. diff --git a/ElementX/Sources/Screens/BugReportScreen/View/BugReportScreen.swift b/ElementX/Sources/Screens/BugReportScreen/View/BugReportScreen.swift index 1419d534f..3dc35fba3 100644 --- a/ElementX/Sources/Screens/BugReportScreen/View/BugReportScreen.swift +++ b/ElementX/Sources/Screens/BugReportScreen/View/BugReportScreen.swift @@ -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)