mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
add a11y labels to media upload preview screen
This commit is contained in:
@@ -109,6 +109,7 @@ struct MediaUploadPreviewScreen: View {
|
|||||||
SendButton {
|
SendButton {
|
||||||
context.send(viewAction: .send)
|
context.send(viewAction: .send)
|
||||||
}
|
}
|
||||||
|
.accessibilityLabel(L10n.actionSend)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -118,6 +119,7 @@ struct MediaUploadPreviewScreen: View {
|
|||||||
} label: {
|
} label: {
|
||||||
CompoundIcon(\.infoSolid, size: .xSmall, relativeTo: .compound.bodyLG)
|
CompoundIcon(\.infoSolid, size: .xSmall, relativeTo: .compound.bodyLG)
|
||||||
}
|
}
|
||||||
|
.accessibilityLabel(L10n.a11yInfo)
|
||||||
.tint(.compound.iconCriticalPrimary)
|
.tint(.compound.iconCriticalPrimary)
|
||||||
.popover(isPresented: $context.isPresentingMediaCaptionWarning, arrowEdge: .bottom) {
|
.popover(isPresented: $context.isPresentingMediaCaptionWarning, arrowEdge: .bottom) {
|
||||||
captionWarningContent
|
captionWarningContent
|
||||||
|
|||||||
Reference in New Issue
Block a user