mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Improve accessibility
This commit is contained in:
@@ -42,7 +42,8 @@ struct SegmentedPicker<Segment: Hashable & CustomStringConvertible>: View {
|
||||
.underline(isSelectedSegment)
|
||||
}
|
||||
.accentColor(isSelectedSegment ? theme.colors.accent : theme.colors.primaryContent)
|
||||
.accessibilityLabel(segment.description + (isSelectedSegment ? "-selected" : ""))
|
||||
.accessibilityLabel(segment.description)
|
||||
.accessibilityValue(isSelectedSegment ? VectorL10n.accessibilitySelected : "")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user