add a11y labels to media upload preview screen

This commit is contained in:
Mauro Romito
2026-06-16 12:33:03 +02:00
committed by Mauro
parent 409e65ecb8
commit b3f0402a4d
@@ -109,6 +109,7 @@ struct MediaUploadPreviewScreen: View {
SendButton {
context.send(viewAction: .send)
}
.accessibilityLabel(L10n.actionSend)
}
}
@@ -118,6 +119,7 @@ struct MediaUploadPreviewScreen: View {
} label: {
CompoundIcon(\.infoSolid, size: .xSmall, relativeTo: .compound.bodyLG)
}
.accessibilityLabel(L10n.a11yInfo)
.tint(.compound.iconCriticalPrimary)
.popover(isPresented: $context.isPresentingMediaCaptionWarning, arrowEdge: .bottom) {
captionWarningContent