Fixed
Status Update
Comments
ss...@google.com <ss...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
as...@google.com <as...@google.com>
na...@google.com <na...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
Version used: 1.0.1
I don't have a full explanation, but it seems that top level elements in Scaffold interfere with talkback. PositionIndicator, TimeText, full screen composables, but I'm guessing as I'm not sure what is going on. It makes it hard to reconcile the results from a11y testing with composeTestRule with actual manual testing.
It seems that A11y treats them as a single item because the bounds are all the same (full screen). But I'm not sure.
One example changing
```
val volumeState = volume()
Stepper(
value = volumeState.current.toFloat(),
onValueChange = { if (it > volumeState.current) increaseVolume() else decreaseVolume() },
steps = volumeState.max - 1,
valueRange = (0f..volumeState.max.toFloat()),
increaseIcon = {
increaseIcon()
},
decreaseIcon = {
decreaseIcon()
}
) {
DeviceChip(
modifier = Modifier.padding(horizontal = 18.dp),
volumeState = volumeState,
audioOutput = audioOutput,
onAudioOutputClick = onAudioOutputClick
)
}
if (showVolumeIndicator) {
VolumePositionIndicator(
modifier = Modifier.semantics {
contentDescription = "Volume ${volumeState.current}"
},
volumeState = volume,
autoHide = false
)
}
}
```