mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
a11y: add profile picture accessibility label
This commit is contained in:
@@ -143,6 +143,7 @@ struct AvatarHeaderView<Footer: View>: View {
|
||||
avatarSize: avatarSize,
|
||||
mediaProvider: mediaProvider,
|
||||
onAvatarTap: onAvatarTap)
|
||||
.accessibilityLabel(L10n.a11yAvatar)
|
||||
|
||||
case .user(let userProfile):
|
||||
LoadableAvatarImage(url: userProfile.avatarURL,
|
||||
@@ -151,6 +152,7 @@ struct AvatarHeaderView<Footer: View>: View {
|
||||
avatarSize: avatarSize,
|
||||
mediaProvider: mediaProvider,
|
||||
onTap: onAvatarTap)
|
||||
.accessibilityLabel(L10n.a11yAvatar)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user