Any way can i add accessibility to TileService
layout component like LayoutElementBuilders.Text
. I can't see any api to set accessibility. Anyone have idea or solution, please help me.
Asked
Active
Viewed 26 times
1

Abu Yousuf
- 5,729
- 3
- 31
- 50
1 Answers
1
Use the semantics modifier
Text.Builder()
.setText("AAA")
.setModifiers(
Modifiers.Builder()
.setSemantics(
Semantics.Builder()
.setContentDescription(
"Hello World Text Element"
).build()
).build()
)

Yuri Schimke
- 12,435
- 3
- 35
- 69
-
Great. Worked. Thanks – Abu Yousuf Jun 01 '23 at 05:07