is there any way to query the modifier for a specific attribute, like contentDescription. In a child composable, i want to be able to extract the parent contentDescription so i can append to child contentDescription name. What would be the best approach of doing this ? I have access to parent modifier
Zach Klippenstein (he/him) [MOD]
01/07/2022, 5:28 PM
This is not possible to do manually, you can't query modifier objects for semantics. I can’t remember how content description merging works but I would think it should append for you, like text does.