https://kotlinlang.org logo
#compose
Title
# compose
j

Jonas

06/10/2022, 12:44 PM
A11y - Screen Reader I use clearAndSetSemantics to change the order of / and combine two texts. This works great if I swipe with the screen reader to this column but I cannot select the elements / column anymore to read it out loud. When I press I hear another sound than pressing empty space but the element is not selected and not read out. Is this a bug / intended behaviour or do I miss something here?
Copy code
val value = "value"
val label = "label"
Column(modifier = Modifier.clearAndSetSemantics { contentDescription = "$label: $value" }) {
    Text(value)
    Text(label)
}
https://issuetracker.google.com/issues/218684238 found a relevant issue in the tracker.
Working/fixed in 1.2.0-beta03
8 Views