read receipt cell should be grouped and the avatar accessibility hidden

This commit is contained in:
Mauro Romito
2025-07-21 13:35:56 +02:00
committed by Mauro
parent e035947355
commit f45a5f814e
4 changed files with 10 additions and 1 deletions
@@ -128,6 +128,7 @@ struct PollView: View {
.scaledPadding(.leading, showVotes ? 0 : 32)
.foregroundColor(.compound.textSecondary)
.frame(maxWidth: .infinity, alignment: showVotes ? .trailing : .leading)
.accessibilityIdentifier(A11yIdentifiers.pollView.summary)
}
}
@@ -30,6 +30,7 @@ struct ReadReceiptCell: View {
contentID: readReceipt.userID,
avatarSize: .user(on: .readReceiptSheet),
mediaProvider: mediaProvider)
.accessibilityHidden(true)
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 12) {
Text(title)
@@ -50,6 +51,7 @@ struct ReadReceiptCell: View {
.lineLimit(1)
}
}
.accessibilityElement(children: .combine)
.padding(.vertical, 8)
.padding(.horizontal, 16)
}