When my parent container is disabled and I use VoiceOver, it reads out all the components in the container as "Dimmed" or "Disabled" (iOS 16.4 simulator says "Disabled" 16.6 actual device says "Dimmed", but I digress...)
I was hoping to be able to enable one of the components in the container, but VO continues to report the item as Disabled/Dimmed. (see code below)
Any suggestions on how I might be able to not report Text("Heading")
as Dimmed/Disabled in VO?
struct ContentView: View {
@State var inputText: String = ""
var body: some View {
VStack {
Text("Heading")
.disabled(false)
TextField("Type some text", text: $inputText)
}
.disabled(true)
}
}