Colton Idle
09/16/2025, 6:29 PMButton { Text(someText) }
Do I need to do anything in compose to make this accessible? Or by virtue of it being a button that contains a text, it should work correctly? I can't test with talkback at the moment, so I'm just trying to see if adding a contentDescription via semantics modifier is needed in this case?ephemient
09/16/2025, 6:35 PMText
, or other composables that contain Text
, is automatically provided to accessibility services.
if you set Modifier.semantics { contentDescription }
then that will be used instead of the childrenZach Klippenstein (he/him) [MOD]
09/16/2025, 9:43 PMZach Klippenstein (he/him) [MOD]
09/16/2025, 9:44 PMColton Idle
09/16/2025, 10:30 PM