mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
a11y improvement for removing a selected user
This commit is contained in:
@@ -15,12 +15,15 @@ struct InviteUsersScreenSelectedItem: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
avatar
|
avatar
|
||||||
|
.accessibilityHidden(true)
|
||||||
|
|
||||||
Text(user.displayName ?? user.userID)
|
Text(user.displayName ?? user.userID)
|
||||||
.font(.compound.bodyMD)
|
.font(.compound.bodyMD)
|
||||||
.foregroundColor(.compound.textPrimary)
|
.foregroundColor(.compound.textPrimary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
}
|
}
|
||||||
|
.accessibilityElement(children: .combine)
|
||||||
|
.accessibilityAction(named: L10n.actionRemove, dismissAction)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Private
|
// MARK: - Private
|
||||||
|
|||||||
Reference in New Issue
Block a user