ModifiersBuilders.Semantics
class ModifiersBuilders.Semantics
A modifier for an element which has accessibility semantics associated with it. This should generally be used sparingly, and in most cases should only be applied to the top-level layout element or to Clickables.
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
String |
Gets the content description associated with this element. |
Public functions
fungetContentDescription(): String
Gets the content description associated with this element. This will be dictated when the element is focused by the screen reader. Intended for testing purposes only.