[bugfix/chore] id poll options properly (#2379)

* aria-labels for polls, id poll options properly

* my bad, aria labels are for interactive elements
This commit is contained in:
tobi
2023-11-22 16:27:32 +01:00
committed by GitHub
parent 7a9b493f47
commit 71e0aaee3c
3 changed files with 6 additions and 2 deletions

View File

@@ -709,6 +709,7 @@ func (c *Converter) StatusToWebStatus(
webPollOption := apimodel.WebPollOption{
PollOption: option,
PollID: poll.ID,
Emojis: webStatus.Emojis,
LanguageTag: webStatus.LanguageTag,
VoteShare: voteShare,