From 3d84c611ae6f7656763f8346446f5b34143fce29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Wischer?= Date: Tue, 14 Jul 2026 22:28:13 +0200 Subject: [PATCH] Combine the poll winner icon and vote count into one accessibility element --- .../Sources/Screens/Timeline/View/Polls/PollOptionView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElementX/Sources/Screens/Timeline/View/Polls/PollOptionView.swift b/ElementX/Sources/Screens/Timeline/View/Polls/PollOptionView.swift index 1a47b2f4e..226be5ae2 100644 --- a/ElementX/Sources/Screens/Timeline/View/Polls/PollOptionView.swift +++ b/ElementX/Sources/Screens/Timeline/View/Polls/PollOptionView.swift @@ -37,11 +37,12 @@ struct PollOptionView: View { CompoundIcon(asset: Asset.Images.pollWinner) .foregroundColor(.compound.iconAccentTertiary) .accessibilityLabel(L10n.a11yPollsWinningAnswer) - + Text(L10n.commonPollVotesCount(pollOption.votes)) .font(.compound.bodySMSemibold) .foregroundColor(.compound.textPrimary) } + .accessibilityElement(children: .combine) } else { Text(L10n.commonPollVotesCount(pollOption.votes)) .font(.compound.bodySM)