# 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)

*** ** * ** ***


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

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `[getContentDescription](https://developer.android.com/reference/kotlin/androidx/wear/tiles/ModifiersBuilders.Semantics#getContentDescription())()` **This function is deprecated.** Deprecated in Java |

## Public functions

### 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)

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

> [!CAUTION]
> **This function 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.