mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
add a11y labels to media upload preview screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user