mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
voice over can now read the screenshot in bug report screen
This commit is contained in:
@@ -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$@";
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user