mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Combine the poll winner icon and vote count into one accessibility element
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user