🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

SemanticsModifier

A Modifier.Element that adds semantics key/value for use in testing, accessibility, and similar use cases.

Source set: Common
public interface SemanticsModifier : Modifier.Element

A Modifier.Element that adds semantics key/value for use in testing, accessibility, and similar use cases.

Properties

id

Source set: Common
@Deprecated(
        message =
            "SemanticsModifier.id is now unused and has been set to a fixed value. " +
                "Retrieve the id from LayoutInfo instead.",
        replaceWith = ReplaceWith(""),
    )
    public val id: Int

semanticsConfiguration

Source set: Common
public val semanticsConfiguration: SemanticsConfiguration

The SemanticsConfiguration holds substantive data, especially a list of key/value pairs such as (label -> "buttonName").