From 71e0aaee3c17df722c3474b335a807718184cce2 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:27:32 +0100 Subject: [bugfix/chore] id poll options properly (#2379) * aria-labels for polls, id poll options properly * my bad, aria labels are for interactive elements --- internal/api/model/poll.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/api/model/poll.go') diff --git a/internal/api/model/poll.go b/internal/api/model/poll.go index 7eddb66ef..3eb801998 100644 --- a/internal/api/model/poll.go +++ b/internal/api/model/poll.go @@ -113,6 +113,9 @@ type PollVoteRequest struct { type WebPollOption struct { PollOption + // ID of the parent poll. + PollID string + // Emojis contained on parent poll. Emojis []Emoji -- cgit v1.2.3