2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Attempt to improve VoiceOver for accepted/rejected follower requests

Unfortunately needs further work (VoiceOver does not announce this label as part of the row).

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
Contributes to IOS-380
This commit is contained in:
shannon 2025-03-13 10:58:29 -04:00
parent b6b486533b
commit 00bcae4bd6

View File

@ -789,8 +789,10 @@ struct NotificationRowView: View {
case (.iHaveAnsweredTheirRequestToFollowMe(let didAccept), false):
if didAccept {
lightwieghtImageView("checkmark", size: smallAvatarSize)
.accessibilityLabel(L10n.Scene.Notification.FollowRequest.accepted)
} else {
lightwieghtImageView("xmark", size: smallAvatarSize)
.accessibilityLabel(L10n.Scene.Notification.FollowRequest.rejected)
}
case (.error(_), _):
lightwieghtImageView(