# ModifiersBuilders.Semantics

Artifact: [androidx.wear.tiles:tiles](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/ModifiersBuilders.java+class:androidx.wear.tiles.ModifiersBuilders.Semantics) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
public final class ModifiersBuilders.Semantics
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Deprecated in Java

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 |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/tiles/ModifiersBuilders.Semantics.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `[getContentDescription](https://developer.android.com/reference/androidx/wear/tiles/ModifiersBuilders.Semantics#getContentDescription())()` **This method is deprecated.** Deprecated in Java |

## Public methods

### getContentDescription

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public @NonNull String [getContentDescription](https://developer.android.com/reference/androidx/wear/tiles/ModifiersBuilders.Semantics#getContentDescription())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

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.