# SemanticsPropertyReceiver

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+class:androidx.compose.ui.semantics.SemanticsPropertyReceiver) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  interface SemanticsPropertyReceiver
  ```
Known direct subclasses [SemanticsConfiguration](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsConfiguration)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsConfiguration` | Describes the semantic information associated with the owning component |

*** ** * ** ***

SemanticsPropertyReceiver is the scope provided by semantics {} blocks, letting you set key/value pairs primarily via extension functions.

## Summary

| ### Public functions |
|---|---|---|
| `operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#set(androidx.compose.ui.semantics.SemanticsPropertyKey,kotlin.Any)(key: https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyKey<T>, value: T)` | Cmn |

| ### Extension functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).clearTextSubstitution(kotlin.String,kotlin.Function0)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to clear the text substitution of this node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collapse(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to collapse an expandable node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).copyText(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to copy the text to the clipboard. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).cutText(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to cut the text and copy it to the clipboard. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).dialog()()` Whether this element is a Dialog. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).disabled()()` Whether this semantics node is disabled. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).dismiss(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to dismiss a dismissible node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).error(kotlin.String)(description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Mark semantics node that contains invalid input or error. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).expand(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to expand an expandable node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).getScrollViewportLength(kotlin.String,kotlin.Function0)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html? )` Action to get a scrollable's active view port amount for scrolling actions. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).getTextLayoutResult(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextLayoutResult>) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to get a Text/TextField node's `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextLayoutResult`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).heading()()` The node is marked as heading for accessibility. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).hideFromAccessibility()()` If present, this node is considered hidden from accessibility services. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).indexForKey(kotlin.Function1)(mapping: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` The index of an item identified by a given key. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).insertTextAtCursor(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to insert text into this node at the current cursor position, or replacing the selection if text is selected. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.[invisibleToUser](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).invisibleToUser())()` **This function is deprecated.** Use \`hideFromAccessibility()\` instead. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.[onAutofillText](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onAutofillText(kotlin.String,kotlin.Function1))( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` **This function is deprecated.** Use onFillData instead | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onClick(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to be performed when the node is clicked (single-tapped). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onFillData(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/FillableData) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action that an autofill service can invoke to fill the component with data. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onImeAction(androidx.compose.ui.text.input.ImeAction,kotlin.String,kotlin.Function0)( imeActionType: https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction, label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to invoke the IME action handler configured on the node, as well as specify the type of IME action provided by the node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onLongClick(kotlin.String,kotlin.Function0)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to be performed when the node is long clicked (long-pressed). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).pageDown(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to page down. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).pageLeft(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to page left. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).pageRight(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to page right. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).pageUp(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` Action to page up. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).password(kotlin.Boolean)(isPasswordObfuscated: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Marks this semantics node as a password field (e.g. for credentials and sensitive text input). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).pasteText(kotlin.String,kotlin.Function0)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?)` This function adds the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PasteText()` to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.[performImeAction](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).performImeAction(kotlin.String,kotlin.Function0))( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` **This function is deprecated.** Use \`SemanticsPropertyReceiver.onImeAction\` instead. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).popup()()` Whether this semantics node represents a Popup. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).requestFocus(kotlin.String,kotlin.Function0)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action that gives input focus to this node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollBy(kotlin.String,kotlin.Function2)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to asynchronously scroll by a specified amount. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollByOffset(kotlin.coroutines.SuspendFunction1)( action: suspend (offset: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset) -> https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset )` Action to scroll by a specified amount and return how much of the offset was actually consumed. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollToIndex(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Action to scroll a container to the index of one of its items. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).selectableGroup()()` The node is marked as a collection of horizontally or vertically stacked selectable elements. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).setProgress(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to set the current value of the progress bar. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).setSelection(kotlin.String,kotlin.Function3)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((startIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, endIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, relativeToOriginalText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to set text selection by character index range. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).setText(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to set the text contents of this node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).setTextSubstitution(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to set the text substitution of this node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).showTextSubstitution(kotlin.String,kotlin.Function1)( label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)? )` Action to show or hide the text substitution of this node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).textEntryKey()()` The node is marked as a text entry key for accessibility. | Cmn |

| ### Extension properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).accessibilityClassName()` | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).backgroundColor()` Background color of the node. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/CollectionInfo` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collectionInfo()` This semantics marks node as a collection and provides the required information. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/CollectionItemInfo` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collectionItemInfo()` This semantics marks node as an items of a collection and provides the required information. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/ContentDataType` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).contentDataType()` Content data type information. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).contentDescription()` Developer-set content description of the semantics node. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/ContentType` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).contentType()` Content field type information. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/CredentialRequestData` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).credentialRequest()` Semantics property for defining a pending credential request on a node. | android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/CustomAccessibilityAction>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).customActions()` Custom actions which are defined by app developers. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).editableText()` A visual value of the text field after output transformations that change the visual representation of the field's state have been applied. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/FillableData` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).fillableData()` The current value of a component that can be autofilled. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).focused()` Whether this semantics node is focused. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).hintText()` The hint text for an editable text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).horizontalScrollAxisRange()` The horizontal scroll state of this node if this node is scrollable. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).imeAction()` **This property is deprecated.** Pass the ImeAction to onImeAction instead. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).inputText()` The raw value of the text field after input transformations have been applied. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/InputTextSuggestionState` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).inputTextSuggestionState()` This semantics provides the state of a text that has active suggestions. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).isContainer()` **This property is deprecated.** Use \`isTraversalGroup\` instead. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).isEditable()` Whether this semantics node is editable, e.g. an editable text field. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).isSensitiveData()` Whether this semantics node should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo.isAccessibilityTool property set to true. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).isShowingTextSubstitution()` Whether this element is showing the text substitution. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).isTraversalGroup()` Whether this semantics node is a traversal group. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/LiveRegionMode` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).liveRegion()` This node is marked as live region for accessibility. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).maxTextLength()` Limits the number of characters that can be entered, e.g. in an editable text field. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).paneTitle()` Accessibility-friendly title for a screen's pane. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ProgressBarRangeInfo` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).progressBarRangeInfo()` The semantics represents a range of possible values with a current value. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).role()` The type of user interface element. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).selected()` Whether this element is selected (out of a list of possible selections). | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).shape()` The shape of the UI element. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).stateDescription()` Developer-set state description of the semantics node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).testTag()` Test tag attached to this semantics node. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).testTagsAsResourceId()` Configuration toggle to map testTags to resource-id. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).text()` Text of the semantics node. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextRange?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).textCompositionRange()` Text composition range for the text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextRange` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).textSelectionRange()` Text selection range for the text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).textSubstitution()` Text substitution of the semantics node. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).toggleableState()` The state of a toggleable component. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).traversalIndex()` A value to manually control screenreader traversal order. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver.https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).verticalScrollAxisRange()` The vertical scroll state of this node if this node is scrollable. | Cmn |

## Public functions

### set

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
operator fun <T : Any?> set(key: SemanticsPropertyKey<T>, value: T): Unit
```

## Extension functions

### SemanticsPropertyReceiver.clearTextSubstitution

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:clearTextSubstitution)

```
fun SemanticsPropertyReceiver.clearTextSubstitution(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to clear the text substitution of this node.

Expected to be used on non-editable text.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#ClearTextSubstitution()` is called. |

### SemanticsPropertyReceiver.collapse

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:collapse)

```
fun SemanticsPropertyReceiver.collapse(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to collapse an expandable node.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#Collapse()` is called. |

### SemanticsPropertyReceiver.copyText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:copyText)

```
fun SemanticsPropertyReceiver.copyText(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to copy the text to the clipboard.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#CopyText()` is called. |

### SemanticsPropertyReceiver.cutText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:cutText)

```
fun SemanticsPropertyReceiver.cutText(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to cut the text and copy it to the clipboard.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#CutText()` is called. |

### SemanticsPropertyReceiver.dialog

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:dialog)

```
fun SemanticsPropertyReceiver.dialog(): Unit
```

Whether this element is a Dialog. Not to be confused with if this element is *part of* a Dialog.

### SemanticsPropertyReceiver.disabled

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:disabled)

```
fun SemanticsPropertyReceiver.disabled(): Unit
```

Whether this semantics node is disabled. Note that proper `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions` should still be added when this property is set.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Disabled()` |   |

### SemanticsPropertyReceiver.dismiss

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:dismiss)

```
fun SemanticsPropertyReceiver.dismiss(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to dismiss a dismissible node.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#Dismiss()` is called. |

### SemanticsPropertyReceiver.error

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:error)

```
fun SemanticsPropertyReceiver.error(description: String): Unit
```

Mark semantics node that contains invalid input or error.

| Parameters |
|---|---|
| `description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | a localized description explaining an error to the accessibility user |

### SemanticsPropertyReceiver.expand

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:expand)

```
fun SemanticsPropertyReceiver.expand(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to expand an expandable node.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#Expand()` is called. |

### SemanticsPropertyReceiver.getScrollViewportLength

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:getScrollViewportLength)

```
fun SemanticsPropertyReceiver.getScrollViewportLength(
    label: String? = null,
    action: () -> Float?
): Unit
```

Action to get a scrollable's active view port amount for scrolling actions.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#GetScrollViewportLength()` is called. |

### SemanticsPropertyReceiver.getTextLayoutResult

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:getTextLayoutResult)

```
fun SemanticsPropertyReceiver.getTextLayoutResult(
    label: String? = null,
    action: ((MutableList<TextLayoutResult>) -> Boolean)?
): Unit
```

Action to get a Text/TextField node's `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextLayoutResult`. The result is the first element of layout (the argument of the AccessibilityAction).

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/TextLayoutResult>) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#GetTextLayoutResult()` is called. |

### SemanticsPropertyReceiver.heading

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:heading)

```
fun SemanticsPropertyReceiver.heading(): Unit
```

The node is marked as heading for accessibility.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Heading()` |   |

### SemanticsPropertyReceiver.hideFromAccessibility

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:hideFromAccessibility)

```
fun SemanticsPropertyReceiver.hideFromAccessibility(): Unit
```

If present, this node is considered hidden from accessibility services.

For example, if the node is currently occluded by a dark semitransparent pane above it, then for all practical purposes the node should not be announced to the user. Since the system cannot automatically determine that, this property can be set to make the screen reader linear navigation skip over this type of node.

If looking for a way to clear semantics of small items from the UI tree completely because they are redundant with semantics of their parent, consider `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/clearAndSetSemantics.modifier#(androidx.compose.ui.Modifier).clearAndSetSemantics(kotlin.Function1)` instead.

### SemanticsPropertyReceiver.indexForKey

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:indexForKey)

```
fun SemanticsPropertyReceiver.indexForKey(mapping: (Any) -> Int): Unit
```

The index of an item identified by a given key. The key is usually defined during the creation of the container. If the key did not match any of the items' keys, the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).indexForKey(kotlin.Function1)` must return -1.

### SemanticsPropertyReceiver.insertTextAtCursor

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:insertTextAtCursor)

```
fun SemanticsPropertyReceiver.insertTextAtCursor(
    label: String? = null,
    action: ((AnnotatedString) -> Boolean)?
): Unit
```

Action to insert text into this node at the current cursor position, or replacing the selection if text is selected.

Expected to be used on editable text fields.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#InsertTextAtCursor()` is called. |

### SemanticsPropertyReceiver.invisibleToUser

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:invisibleToUser)

```
fun SemanticsPropertyReceiver.[invisibleToUser](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).invisibleToUser())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use \`hideFromAccessibility()\` instead, use this instead:
>
> ```kotlin
> hideFromAccessibility()
> ```

Whether this node is specially known to be invisible to the user.

For example, if the node is currently occluded by a dark semitransparent pane above it, then for all practical purposes the node is invisible to the user, but the system cannot automatically determine that. To make the screen reader linear navigation skip over this type of invisible node, this property can be set.

If looking for a way to hide semantics of small items from screen readers because they're redundant with semantics of their parent, consider `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/clearAndSetSemantics.modifier#(androidx.compose.ui.Modifier).clearAndSetSemantics(kotlin.Function1)` instead.

### SemanticsPropertyReceiver.onAutofillText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:onAutofillText)

```
fun SemanticsPropertyReceiver.[onAutofillText](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onAutofillText(kotlin.String,kotlin.Function1))(
    label: String? = null,
    action: ((AnnotatedString) -> Boolean)?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use onFillData instead, use this instead:
>
> ```kotlin
> onFillData
> ```

Action to autofill a TextField.

Expected to be used in conjunction with `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).contentType()` and `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).contentDataType()` properties.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnAutofillText()` is called. |

### SemanticsPropertyReceiver.onClick

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:onClick)

```
fun SemanticsPropertyReceiver.onClick(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to be performed when the node is clicked (single-tapped).

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnClick()` is called. |

### SemanticsPropertyReceiver.onFillData

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:onFillData)

```
fun SemanticsPropertyReceiver.onFillData(
    label: String? = null,
    action: ((FillableData) -> Boolean)?
): Unit
```

Action that an autofill service can invoke to fill the component with data.

The `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onFillData(kotlin.String,kotlin.Function1)` will be called by the system, passing the `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/FillableData` that should be used to update the component's state.

This is the counterpart to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).fillableData()` property, which is used to *provide* the component's current data to the autofill service.

```kotlin
import androidx.compose.foundation.text.input.rememberTextFieldState
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose.ui.Modifier
import androidx.compose.ui.autofill.ContentType
import androidx.compose.ui.autofill.FillableData
import androidx.compose.ui.autofill.contentType
import androidx.compose.ui.autofill.createFromText
import androidx.compose.ui.semantics.contentType
import androidx.compose.ui.semantics.fillableData
import androidx.compose.ui.semantics.onFillData
import androidx.compose.ui.semantics.semantics

val state = rememberTextFieldState()

TextField(
    state = state,
    label = { Text("Enter your username here.") },
    modifier =
        Modifier.semantics {
            contentType = ContentType.Username
            // Set the fillable data with semantics.
            FillableData.createFromText(state.text)?.let { fillableData = it }
            // Replace the state value with data from the autofill provider.
            onFillData { savedAutofillValue ->
                savedAutofillValue.textValue?.let { state.edit { replace(0, length, it) } }
                true
            }
        },
)
```

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/FillableData) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnFillData()` is called. The lambda receives the `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/FillableData` from the autofill service. |

### SemanticsPropertyReceiver.onImeAction

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:onImeAction)

```
fun SemanticsPropertyReceiver.onImeAction(
    imeActionType: ImeAction,
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to invoke the IME action handler configured on the node, as well as specify the type of IME action provided by the node.

Expected to be used on editable text fields.

| Parameters |
|---|---|
| `imeActionType: https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction` | The IME type, such as `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction#Next()` or `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction#Search()` |
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnImeAction()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#ImeAction()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnImeAction()` |   |

### SemanticsPropertyReceiver.onLongClick

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:onLongClick)

```
fun SemanticsPropertyReceiver.onLongClick(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to be performed when the node is long clicked (long-pressed).

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#OnLongClick()` is called. |

### SemanticsPropertyReceiver.pageDown

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:pageDown)

```
fun SemanticsPropertyReceiver.pageDown(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to page down.

Using `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` will prevent this action from being sent to accessibility services.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PageDown()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` | for more information. |

### SemanticsPropertyReceiver.pageLeft

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:pageLeft)

```
fun SemanticsPropertyReceiver.pageLeft(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to page left.

Using `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` will prevent this action from being sent to accessibility services.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PageLeft()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` | for more information. |

### SemanticsPropertyReceiver.pageRight

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:pageRight)

```
fun SemanticsPropertyReceiver.pageRight(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to page right.

Using `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` will prevent this action from being sent to accessibility services.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PageRight()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` | for more information. |

### SemanticsPropertyReceiver.pageUp

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:pageUp)

```
fun SemanticsPropertyReceiver.pageUp(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action to page up.

Using `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` will prevent this action from being sent to accessibility services.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PageUp()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role#Carousel()` | for more information. |

### SemanticsPropertyReceiver.password

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:password)

```
fun SemanticsPropertyReceiver.password(isPasswordObfuscated: Boolean = true): Unit
```

Marks this semantics node as a password field (e.g. for credentials and sensitive text input).

Setting password semantics identifies the node as a credential field, ensuring appropriate handling for credential security, autofill, and speech masking. If the password text is visually revealed to the user, pass `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).password(kotlin.Boolean)` as `false` to allow screen readers (such as TalkBack) to announce the revealed characters aloud.

Note: `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).password(kotlin.Boolean)` is descriptive for accessibility services and tests; it does not control the visual masking or rendering of the password text field itself (which is typically managed by the text field's visual or codepoint transformation).

| Parameters |
|---|---|
| `isPasswordObfuscated: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = true` | whether the password in a secure text field is currently visually masked with obfuscation characters. When false (revealed), accessibility services such as TalkBack may announce the revealed character content aloud to the user instead of masking it. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Password()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#IsPasswordObfuscated()` |   |

### SemanticsPropertyReceiver.pasteText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:pasteText)

```
fun SemanticsPropertyReceiver.pasteText(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

This function adds the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PasteText()` to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver`. Use it to indicate that element is open for accepting paste data from the clipboard. There is no need to check if the clipboard data available as this is done by the framework. For this action to be triggered, the element must also have the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Focused()` property set.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#PasteText()` is called. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).focused()` |   |

### SemanticsPropertyReceiver.performImeAction

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:performImeAction)

```
fun SemanticsPropertyReceiver.[performImeAction](https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsPropertyReceiver#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).performImeAction(kotlin.String,kotlin.Function0))(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use \`SemanticsPropertyReceiver.onImeAction\` instead, use this instead:
>
> ```kotlin
> onImeAction(imeActionType = ImeAction.Default, label = label, action = action)
> ```

### SemanticsPropertyReceiver.popup

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:popup)

```
fun SemanticsPropertyReceiver.popup(): Unit
```

Whether this semantics node represents a Popup. Not to be confused with if this node is *part of* a Popup.

### SemanticsPropertyReceiver.requestFocus

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:requestFocus)

```
fun SemanticsPropertyReceiver.requestFocus(
    label: String? = null,
    action: (() -> Boolean)?
): Unit
```

Action that gives input focus to this node.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: (() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#RequestFocus()` is called. |

### SemanticsPropertyReceiver.scrollBy

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:scrollBy)

```
fun SemanticsPropertyReceiver.scrollBy(
    label: String? = null,
    action: ((x: Float, y: Float) -> Boolean)?
): Unit
```

Action to asynchronously scroll by a specified amount.

`https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollByOffset(kotlin.coroutines.SuspendFunction1)` should be preferred in most cases, since it is synchronous and returns the amount of scroll that was actually consumed.

Expected to be used in conjunction with `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).verticalScrollAxisRange()`/`https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).horizontalScrollAxisRange()`.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#ScrollBy()` is called. |

### SemanticsPropertyReceiver.scrollByOffset

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:scrollByOffset)

```
fun SemanticsPropertyReceiver.scrollByOffset(
    action: suspend (offset: Offset) -> Offset
): Unit
```

Action to scroll by a specified amount and return how much of the offset was actually consumed. E.g. if the node can't scroll at all in the given direction, `https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset#Zero()` should be returned. The action should not return until the scroll operation has finished.

Expected to be used in conjunction with `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).verticalScrollAxisRange()`/`https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).horizontalScrollAxisRange()`.

Unlike `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollBy(kotlin.String,kotlin.Function2)`, this action is synchronous, and returns the amount of scroll consumed.

| Parameters |
|---|---|
| `action: suspend (offset: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset) -> https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Offset` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#ScrollByOffset()` is called. |

### SemanticsPropertyReceiver.scrollToIndex

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:scrollToIndex)

```
fun SemanticsPropertyReceiver.scrollToIndex(
    label: String? = null,
    action: (Int) -> Boolean
): Unit
```

Action to scroll a container to the index of one of its items.

The `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).scrollToIndex(kotlin.String,kotlin.Function1)` should throw an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` if the index is out of bounds.

### SemanticsPropertyReceiver.selectableGroup

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:selectableGroup)

```
fun SemanticsPropertyReceiver.selectableGroup(): Unit
```

The node is marked as a collection of horizontally or vertically stacked selectable elements.

Unlike `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collectionInfo()` which marks a collection of any elements and asks developer to provide all the required information like number of elements etc., this semantics will populate the number of selectable elements automatically. Note that if you use this semantics with lazy collections, it won't get the number of elements in the collection.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).selected()` |   |

### SemanticsPropertyReceiver.setProgress

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:setProgress)

```
fun SemanticsPropertyReceiver.setProgress(
    label: String? = null,
    action: ((Float) -> Boolean)?
): Unit
```

Action to set the current value of the progress bar.

Expected to be used in conjunction with progressBarRangeInfo.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetProgress()` is called. |

### SemanticsPropertyReceiver.setSelection

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:setSelection)

```
fun SemanticsPropertyReceiver.setSelection(
    label: String? = null,
    action: ((startIndex: Int, endIndex: Int, relativeToOriginalText: Boolean) -> Boolean)?
): Unit
```

Action to set text selection by character index range.

If this action is provided, the selection data must be provided using `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).textSelectionRange()`.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((startIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, endIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, relativeToOriginalText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetSelection()` is called. The parameters to the action are: `startIndex`, `endIndex`, and whether the indices are relative to the original text or the transformed text (when a `VisualTransformation` is applied). |

### SemanticsPropertyReceiver.setText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:setText)

```
fun SemanticsPropertyReceiver.setText(
    label: String? = null,
    action: ((AnnotatedString) -> Boolean)?
): Unit
```

Action to set the text contents of this node.

Expected to be used on editable text fields.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetText()` is called. |

### SemanticsPropertyReceiver.setTextSubstitution

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:setTextSubstitution)

```
fun SemanticsPropertyReceiver.setTextSubstitution(
    label: String? = null,
    action: ((AnnotatedString) -> Boolean)?
): Unit
```

Action to set the text substitution of this node.

Expected to be used on non-editable text.

Note, this action doesn't show the text substitution. Please call `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).showTextSubstitution(kotlin.String,kotlin.Function1)` to show the text substitution.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://developer.android.com/reference/kotlin/androidx/compose/ui/text/AnnotatedString) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetTextSubstitution()` is called. |

### SemanticsPropertyReceiver.showTextSubstitution

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:showTextSubstitution)

```
fun SemanticsPropertyReceiver.showTextSubstitution(
    label: String? = null,
    action: ((Boolean) -> Boolean)?
): Unit
```

Action to show or hide the text substitution of this node.

Expected to be used on non-editable text.

Note, this action only takes effect when the node has the text substitution.

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | Optional label for this action. |
| `action: ((https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)?` | Action to be performed when `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#ShowTextSubstitution()` is called. |

### SemanticsPropertyReceiver.textEntryKey

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+function:textEntryKey)

```
fun SemanticsPropertyReceiver.textEntryKey(): Unit
```

The node is marked as a text entry key for accessibility. This is used to indicate that this composable acts as a key within a text entry interface, such as a custom on-screen keyboard. Accessibility services can use this information to provide a better experience for users interacting with custom text input methods.

See [AccessibilityNodeInfo.setTextEntryKey](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo#setTextEntryKey(boolean)) for more details.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#TextEntryKey()` |   |

## Extension properties

### SemanticsPropertyReceiver.accessibilityClassName

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.android.kt+symbol:accessibilityClassName)

```
var SemanticsPropertyReceiver.accessibilityClassName: String
```

### SemanticsPropertyReceiver.backgroundColor

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:backgroundColor) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.13.0-rc01)

```
var SemanticsPropertyReceiver.backgroundColor: ColorProducer
```

Background color of the node.

This must incorporate the background's alpha property as well as the color's alpha, if provided.

### SemanticsPropertyReceiver.collectionInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:collectionInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.collectionInfo: CollectionInfo
```

This semantics marks node as a collection and provides the required information.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collectionItemInfo()` |   |

### SemanticsPropertyReceiver.collectionItemInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:collectionItemInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.collectionItemInfo: CollectionItemInfo
```

This semantics marks node as an items of a collection and provides the required information.

If you mark items of a collection, you should also be marking the collection with `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).collectionInfo()`.

### SemanticsPropertyReceiver.contentDataType

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:contentDataType) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
var SemanticsPropertyReceiver.contentDataType: ContentDataType
```

Content data type information.

This API can be used to indicate to Autofill services what *kind of data* is meant to be suggested for this field. Not to be confused with the *type* of the field.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#ContentType()` |   |

### SemanticsPropertyReceiver.contentDescription

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:contentDescription) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.contentDescription: String
```

Developer-set content description of the semantics node.

If this is not set, accessibility services will present the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Text()` of this node as the content.

This typically should not be set directly by applications, because some screen readers will cease presenting other relevant information when this property is present. This is intended to be used via Foundation components which are inherently intractable to automatically describe, such as Image, Icon, and Canvas.

### SemanticsPropertyReceiver.contentType

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:contentType) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
var SemanticsPropertyReceiver.contentType: ContentType
```

Content field type information.

This API can be used to indicate to Autofill services what *kind of field* is associated with this node. Not to be confused with the *data type* to be entered into the field.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#ContentType()` |   |

### SemanticsPropertyReceiver.credentialRequest

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.android.kt+symbol:credentialRequest)

```
var SemanticsPropertyReceiver.credentialRequest: CredentialRequestData
```

Semantics property for defining a pending credential request on a node. When this property is set, Compose will populate the Android `https://developer.android.com/reference/android/view/ViewStructure.html` with the provided request to integrate with the Autofill framework's Credential Manager support.

### SemanticsPropertyReceiver.customActions

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:customActions) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.customActions: List<CustomAccessibilityAction>
```

Custom actions which are defined by app developers.

### SemanticsPropertyReceiver.editableText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:editableText) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.editableText: AnnotatedString
```

A visual value of the text field after output transformations that change the visual representation of the field's state have been applied.

This is the value displayed to the user, for example "\*\*\*\*\*\*\*" in a password field.

### SemanticsPropertyReceiver.fillableData

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:fillableData) Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.10.0)

```
var SemanticsPropertyReceiver.fillableData: FillableData
```

The current value of a component that can be autofilled.

This property is used to expose the component's current data *to* the autofill service. The service can then read this value, for example, to save it for future autofill suggestions.

This is the counterpart to the `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onFillData(kotlin.String,kotlin.Function1)` action, which is used to *receive* data from the autofill service.

```kotlin
import androidx.compose.foundation.text.input.rememberTextFieldState
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose.ui.Modifier
import androidx.compose.ui.autofill.ContentType
import androidx.compose.ui.autofill.FillableData
import androidx.compose.ui.autofill.contentType
import androidx.compose.ui.autofill.createFromText
import androidx.compose.ui.semantics.contentType
import androidx.compose.ui.semantics.fillableData
import androidx.compose.ui.semantics.onFillData
import androidx.compose.ui.semantics.semantics

val state = rememberTextFieldState()

TextField(
    state = state,
    label = { Text("Enter your username here.") },
    modifier =
        Modifier.semantics {
            contentType = ContentType.Username
            // Set the fillable data with semantics.
            FillableData.createFromText(state.text)?.let { fillableData = it }
            // Replace the state value with data from the autofill provider.
            onFillData { savedAutofillValue ->
                savedAutofillValue.textValue?.let { state.edit { replace(0, length, it) } }
                true
            }
        },
)
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#FillableData()` |   |

### SemanticsPropertyReceiver.focused

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:focused) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.focused: Boolean
```

Whether this semantics node is focused. The presence of this property indicates this node is focusable

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#Focused()` |   |

### SemanticsPropertyReceiver.hintText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:hintText) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.13.0-rc01)

```
var SemanticsPropertyReceiver.hintText: String
```

The hint text for an editable text field. This is typically used to provide guidance to the user about what to enter in the text field.

```kotlin
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.text.BasicTextField
import androidx.compose.foundation.text.input.rememberTextFieldState
import androidx.compose.material3.Text
import androidx.compose.ui.Modifier
import androidx.compose.ui.semantics.hideFromAccessibility
import androidx.compose.ui.semantics.hintText
import androidx.compose.ui.semantics.semantics

val label = "Label" // In an application, this hint would typically be a localized String.
val state = rememberTextFieldState()
BasicTextField(
    state = state,
    modifier = Modifier.semantics { hintText = label },
    decorator = { innerTextField ->
        Box {
            innerTextField()
            if (state.text.isEmpty()) {
                // Hide this visual placeholder from talkback to prevent duplicated
                // announcements, as the parent BasicTextField already provides the hintText.
                Text(text = label, modifier = Modifier.semantics { hideFromAccessibility() })
            }
        }
    },
)
```

### SemanticsPropertyReceiver.horizontalScrollAxisRange

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:horizontalScrollAxisRange) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.horizontalScrollAxisRange: ScrollAxisRange
```

The horizontal scroll state of this node if this node is scrollable.

### SemanticsPropertyReceiver.imeAction

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:imeAction) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.5.0)

```
var SemanticsPropertyReceiver.imeAction: ImeAction
```

> [!CAUTION]
> **This property is deprecated.**   
> Pass the ImeAction to onImeAction instead.

Contains the IME action provided by the node.

For example, "go to next form field" or "submit".

A node that specifies an action should also specify a callback to perform the action via `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).onImeAction(androidx.compose.ui.text.input.ImeAction,kotlin.String,kotlin.Function0)`.

### SemanticsPropertyReceiver.inputText

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:inputText) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.9.0)

```
var SemanticsPropertyReceiver.inputText: AnnotatedString
```

The raw value of the text field after input transformations have been applied.

This is an actual user input of the fields, e.g. a real password, after any input transformations that might change or reject that input have been applied. This value is not affected by visual transformations.

### SemanticsPropertyReceiver.inputTextSuggestionState

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:inputTextSuggestionState) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.11.0)

```
var SemanticsPropertyReceiver.inputTextSuggestionState: InputTextSuggestionState
```

This semantics provides the state of a text that has active suggestions. Text with suggestions are typically associated with typing transliteration languages such as Chinese, Japanese, Korean where multiple text replacement suggestions appear.

It is used by accessibility services to determine what speech feedback should be announced as the user is typing a transliteration text. For example, whether to announce that a replacement text is selected.

### SemanticsPropertyReceiver.isContainer

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:isContainer) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.0) Deprecated in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.5.0)

```
var SemanticsPropertyReceiver.isContainer: Boolean
```

> [!CAUTION]
> **This property is deprecated.**   
> Use \`isTraversalGroup\` instead, use this instead:
>
> ```kotlin
> isTraversalGroup
> ```

Whether this semantics node is a container. This is defined as a node whose function is to serve as a boundary or border in organizing its children.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#IsContainer()` |   |

### SemanticsPropertyReceiver.isEditable

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:isEditable) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0)

```
var SemanticsPropertyReceiver.isEditable: Boolean
```

Whether this semantics node is editable, e.g. an editable text field.

### SemanticsPropertyReceiver.isSensitiveData

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:isSensitiveData) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.9.0)

```
var SemanticsPropertyReceiver.isSensitiveData: Boolean
```

Whether this semantics node should only allow interactions from android.accessibilityservice.AccessibilityServices with the android.accessibilityservice.AccessibilityServiceInfo.isAccessibilityTool property set to true.

This property allows the node to remain visible and interactive to Accessibility Services declared as accessibility tools that assist users with disabilities, while simultaneously hiding this node and its generated AccessibilityEvents from other Accessibility Services that are not declared as accessibility tools.

If looking for a way to hide the node from all Accessibility Services then consider `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#HideFromAccessibility()` instead.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#IsSensitiveData()` |   |

### SemanticsPropertyReceiver.isShowingTextSubstitution

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:isShowingTextSubstitution) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0)

```
var SemanticsPropertyReceiver.isShowingTextSubstitution: Boolean
```

Whether this element is showing the text substitution. This property is only available after calling `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetTextSubstitution()`.

### SemanticsPropertyReceiver.isTraversalGroup

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:isTraversalGroup) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.5.0)

```
var SemanticsPropertyReceiver.isTraversalGroup: Boolean
```

Whether this semantics node is a traversal group.

See https://developer.android.com/develop/ui/compose/accessibility/traversal

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#IsTraversalGroup()` |   |

### SemanticsPropertyReceiver.liveRegion

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:liveRegion) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.liveRegion: LiveRegionMode
```

This node is marked as live region for accessibility. This indicates to accessibility services they should automatically notify the user about changes to the node's content description or text, or to the content descriptions or text of the node's children (where applicable). It should be used with caution, especially with assertive mode which immediately stops the current audio and the user does not hear the rest of the content. An example of proper use is a Snackbar which is marked as `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/LiveRegionMode#Polite()`.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#LiveRegion()` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/LiveRegionMode` |   |

### SemanticsPropertyReceiver.maxTextLength

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:maxTextLength) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0)

```
var SemanticsPropertyReceiver.maxTextLength: Int
```

Limits the number of characters that can be entered, e.g. in an editable text field. By default this value is -1, signifying there is no maximum text length limit.

### SemanticsPropertyReceiver.paneTitle

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:paneTitle) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.paneTitle: String
```

Accessibility-friendly title for a screen's pane. For accessibility purposes, a pane is a visually distinct portion of a window, such as the contents of a open drawer. In order for accessibility services to understand a pane's window-like behavior, you should give descriptive titles to your app's panes. Accessibility services can then provide more granular information to users when a pane's appearance or content changes.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsProperties#PaneTitle()` |   |

### SemanticsPropertyReceiver.progressBarRangeInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:progressBarRangeInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.progressBarRangeInfo: ProgressBarRangeInfo
```

The semantics represents a range of possible values with a current value. For example, when used on a slider control, this will allow screen readers to communicate the slider's state.

### SemanticsPropertyReceiver.role

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:role) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.role: Role
```

The type of user interface element. Accessibility services might use this to describe the element or do customizations. Most roles can be automatically resolved by the semantics properties of this element. But some elements with subtle differences need an exact role. If an exact role is not listed in `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/Role`, this property should not be set and the framework will automatically resolve it.

### SemanticsPropertyReceiver.selected

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:selected) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.selected: Boolean
```

Whether this element is selected (out of a list of possible selections).

The presence of this property indicates that the element is selectable.

### SemanticsPropertyReceiver.shape

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:shape) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.9.0)

```
var SemanticsPropertyReceiver.shape: Shape
```

The shape of the UI element.

### SemanticsPropertyReceiver.stateDescription

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:stateDescription) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.stateDescription: String
```

Developer-set state description of the semantics node.

For example: on/off. If this not set, accessibility services will derive the state from other semantics properties, like `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ProgressBarRangeInfo`, but it is not guaranteed and the format will be decided by accessibility services.

### SemanticsPropertyReceiver.testTag

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:testTag) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.testTag: String
```

Test tag attached to this semantics node.

This can be used to find nodes in testing frameworks:

- In Compose's built-in unit test framework, use with `https://developer.android.com/reference/kotlin/androidx/compose/ui/test/package-summary#(androidx.compose.ui.test.SemanticsNodeInteractionsProvider).onNodeWithTag(kotlin.String,kotlin.Boolean)`.

- For newer AccessibilityNodeInfo-based integration test frameworks, it can be matched in the extras with key "androidx.compose.ui.semantics.testTag"

- For legacy AccessibilityNodeInfo-based integration tests, it's optionally exposed as the resource id if testTagsAsResourceId is true (for matching with 'By.res' in UIAutomator).

### SemanticsPropertyReceiver.testTagsAsResourceId

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.android.kt+symbol:testTagsAsResourceId)

```
var SemanticsPropertyReceiver.testTagsAsResourceId: Boolean
```

Configuration toggle to map testTags to resource-id.

This provides a way of filling in AccessibilityNodeInfo.viewIdResourceName, which in the View System is populated based on the resource string in the XML.

testTags are also provided in AccessibilityNodeInfo.extras under key "androidx.compose.ui.semantics.testTag". However, when using UIAutomator or on Android 7 and below, extras are not available, so a more backwards-compatible way of making testTags available to accessibility-tree-based integration tests is sometimes needed. resource-id was the most natural property to repurpose for this.

This property applies to a semantics subtree. For example, if it's set to true on the root semantics node of the app (and no child nodes set it back to false), then every testTag will be mapped.

### SemanticsPropertyReceiver.text

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:text) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.text: AnnotatedString
```

Text of the semantics node. It must be real text instead of developer-set content description.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).editableText()` |   |

### SemanticsPropertyReceiver.textCompositionRange

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:textCompositionRange) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.11.0)

```
var SemanticsPropertyReceiver.textCompositionRange: TextRange?
```

Text composition range for the text field.

### SemanticsPropertyReceiver.textSelectionRange

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:textSelectionRange) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.textSelectionRange: TextRange
```

Text selection range for the text field.

### SemanticsPropertyReceiver.textSubstitution

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:textSubstitution) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0)

```
var SemanticsPropertyReceiver.textSubstitution: AnnotatedString
```

Text substitution of the semantics node. This property is only available after calling `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/SemanticsActions#SetTextSubstitution()`.

### SemanticsPropertyReceiver.toggleableState

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:toggleableState) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.toggleableState: ToggleableState
```

The state of a toggleable component.

The presence of this property indicates that the element is toggleable.

### SemanticsPropertyReceiver.traversalIndex

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:traversalIndex) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.5.0)

```
var SemanticsPropertyReceiver.traversalIndex: Float
```

A value to manually control screenreader traversal order.

This API can be used to customize TalkBack traversal order. When the `traversalIndex` property is set on a traversalGroup or on a screenreader-focusable node, then the sorting algorithm will prioritize nodes with smaller `traversalIndex`s earlier. The default traversalIndex value is zero, and traversalIndices are compared at a peer level.

For example,`traversalIndex = -1f` can be used to force a top bar to be ordered earlier, and `traversalIndex = 1f` to make a bottom bar ordered last, in the edge cases where this does not happen by default. As another example, if you need to reorder two Buttons within a Row, then you can set `isTraversalGroup = true` on the Row, and set `traversalIndex` on one of the Buttons.

Note that if `traversalIndex` seems to have no effect, be sure to set `isTraversalGroup = true` as well.

### SemanticsPropertyReceiver.verticalScrollAxisRange

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+symbol:verticalScrollAxisRange) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var SemanticsPropertyReceiver.verticalScrollAxisRange: ScrollAxisRange
```

The vertical scroll state of this node if this node is scrollable.