# SemanticsProperties

# SemanticsProperties

Artifact:[androidx.glance:glance](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/semantics/SemanticsProperties.kt+class:androidx.glance.semantics.SemanticsProperties)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0)

<br />

```
object SemanticsProperties
```

<br />

*** ** * ** ***

General semantics properties, mainly used for accessibility and testing.

Each property is intended to be set by the respective SemanticsPropertyReceiver extension instead of used directly.

## Summary

|                                                                                                                                           ### Public properties                                                                                                                                           |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| [SemanticsPropertyKey](https://developer.android.com/reference/kotlin/androidx/glance/semantics/SemanticsPropertyKey)`<`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`>>` | [ContentDescription](https://developer.android.com/reference/kotlin/androidx/glance/semantics/SemanticsProperties#ContentDescription()) |
| [SemanticsPropertyKey](https://developer.android.com/reference/kotlin/androidx/glance/semantics/SemanticsPropertyKey)`<`[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`>`                                                                                              | [TestTag](https://developer.android.com/reference/kotlin/androidx/glance/semantics/SemanticsProperties#TestTag())                       |

## Public properties

### ContentDescription

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0)  

```
val ContentDescription: SemanticsPropertyKey<List<String>>
```  

|                                                                                         See also                                                                                          |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [contentDescription](https://developer.android.com/reference/kotlin/androidx/glance/semantics/package-summary#(androidx.glance.semantics.SemanticsPropertyReceiver).contentDescription()) |   |

### TestTag

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/glance#1.1.0)  

```
val TestTag: SemanticsPropertyKey<String>
```  

|                                                                              See also                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [testTag](https://developer.android.com/reference/kotlin/androidx/glance/semantics/package-summary#(androidx.glance.semantics.SemanticsPropertyReceiver).testTag()) |   |