diff --git a/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/VoiceMessageRoomTimelineView.swift b/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/VoiceMessageRoomTimelineView.swift index c247fe1b46..6a8eb44a21 100644 --- a/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/VoiceMessageRoomTimelineView.swift +++ b/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/VoiceMessageRoomTimelineView.swift @@ -16,6 +16,8 @@ struct VoiceMessageRoomTimelineView: View { TimelineStyler(timelineItem: timelineItem) { VoiceMessageRoomTimelineContent(timelineItem: timelineItem, playerState: playerState) + .accessibilityLabel(L10n.commonVoiceMessage) + .frame(maxWidth: 400) } } } @@ -83,7 +85,6 @@ struct VoiceMessageRoomTimelineView_Previews: PreviewProvider, TestablePreview { static var previews: some View { body.environmentObject(viewModel.context) - .previewDisplayName("Bubble") } static var body: some View { diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-en-GB.1.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-en-GB.1.png new file mode 100644 index 0000000000..36228f2655 --- /dev/null +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-en-GB.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f518c5ce36c085ec697501297d0303044042b8df1341fcf0d02b08b3eef58959 +size 77812 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-pseudo.1.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-pseudo.1.png new file mode 100644 index 0000000000..9439295081 --- /dev/null +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPad-pseudo.1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d456a81d249a01c6817c0bb35bf2a501ca641918009533c3a8dbb9db2739456 +size 78571 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-en-GB.Bubble.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-en-GB.1.png similarity index 100% rename from PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-en-GB.Bubble.png rename to PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-en-GB.1.png diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-pseudo.Bubble.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-pseudo.1.png similarity index 100% rename from PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-pseudo.Bubble.png rename to PreviewTests/Sources/__Snapshots__/PreviewTests/test_voiceMessageRoomTimelineView-iPhone-16-pseudo.1.png