Input label - Android
In Jetpack Compose, there is no built-in way to link a label between different composables. You can vote for this feature in the following Google issue tracker ticket.
As an alternative, you can use the label
property of TextField
to provide a hint to the user. Such label
would be automatically announcement by accessibility service.
TextField(
value = "",
onValueChange = { /* State update logic */ },
label = { Text("Enter your name") }
)