The current value of the component, read by VoiceOver after the label. For example, “50 percent” for a progress indicator.
Sets the current accessibility value for a component, such as a percentage or status.
.accessibilityValue(value: string)
ProgressView({ value: 0.75 })
.accessibilityLabel("Download progress")
.accessibilityValue("75 percent")
HStack(stars)
.accessibilityLabel("Rating")
.accessibilityValue("4 out of 5 stars")