Combine the poll winner icon and vote count into one accessibility element

This commit is contained in:
Jürgen Wischer
2026-07-14 22:28:13 +02:00
committed by Mauro
parent 5e381e17ea
commit 3d84c611ae
@@ -42,6 +42,7 @@ struct PollOptionView: View {
.font(.compound.bodySMSemibold) .font(.compound.bodySMSemibold)
.foregroundColor(.compound.textPrimary) .foregroundColor(.compound.textPrimary)
} }
.accessibilityElement(children: .combine)
} else { } else {
Text(L10n.commonPollVotesCount(pollOption.votes)) Text(L10n.commonPollVotesCount(pollOption.votes))
.font(.compound.bodySM) .font(.compound.bodySM)