Fixes #660 - Expose message actions to voice over rotor (#2061)

* Fixes #660 - Expose message actions to voice over rotor

* Expose "message actions" accessibility action on polls and voice messages too.
This commit is contained in:
Stefan Ceriu
2023-11-10 18:32:15 +02:00
committed by GitHub
parent 37d88e622c
commit 5adbb3789e
7 changed files with 31 additions and 12 deletions
@@ -100,7 +100,9 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
// Figma overlaps reactions by 3
VStack(alignment: alignment, spacing: -3) {
messageBubble
.timelineAccessibility(timelineItem)
.timelineItemAccessibility(timelineItem) {
context.send(viewAction: .timelineItemMenu(itemID: timelineItem.id))
}
if !timelineItem.properties.reactions.isEmpty {
TimelineReactionsView(context: context,