accessibility improvements + tests refinement

This commit is contained in:
Mauro Romito
2025-09-01 18:05:46 +02:00
committed by Mauro
parent 049bb7b740
commit 40fb20bfb9
6 changed files with 34 additions and 2 deletions
@@ -85,6 +85,7 @@ struct MediaEventsTimelineScreen: View {
ForEach(group.items) { item in
VStack(spacing: 20) {
Divider()
.accessibilityHidden(true)
Button {
tappedItem(item)
@@ -92,7 +93,11 @@ struct MediaEventsTimelineScreen: View {
viewForTimelineItem(item)
.scaleEffect(CGSize(width: 1, height: -1))
}
.accessibilityRepresentation {
viewForTimelineItem(item)
}
}
.accessibilityElement(children: .combine)
.padding(.horizontal, 16)
}
} footer: {