diff --git a/src/app/components/message/content/PollContent.tsx b/src/app/components/message/content/PollContent.tsx index 84a9eb059..887a0eede 100644 --- a/src/app/components/message/content/PollContent.tsx +++ b/src/app/components/message/content/PollContent.tsx @@ -339,6 +339,11 @@ export function PollContent({ aria-checked={selected} aria-disabled={!canVote} aria-label={isWinner ? `${text}, winning answer` : undefined} + aria-describedby={ + showVoters && canShowVoters && (voters.get(id)?.length ?? 0) > 0 + ? `poll-voters-${eventId}-${id}` + : undefined + } tabIndex={tabIndex} onClick={canVote ? () => handleVote(id) : undefined} style={{ @@ -428,11 +433,12 @@ export function PollContent({ {showVoters && canShowVoters && (voters.get(id)?.length ?? 0) > 0 && ( - {(voters.get(id) ?? []).map((s) => getMemberName(room, s)).join(', ')} + {`Voted by ${(voters.get(id) ?? []).map((s) => getMemberName(room, s)).join(', ')}`} )}