mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Add accessibility identifiers in SegmentedPicker
This commit is contained in:
@@ -42,6 +42,7 @@ struct SegmentedPicker<Tag: Hashable>: View {
|
||||
.underline(isSelectedSegment)
|
||||
}
|
||||
.accentColor(isSelectedSegment ? theme.colors.accent : theme.colors.primaryContent)
|
||||
.accessibilityLabel(text + (isSelectedSegment ? "-selected" : ""))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user