# AccessibilityState

> Options for defining the state of an AccessibilityNode to screen readers.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Accessibility](/engine/6000.7/script-reference/unityengine/accessibility.md)
* **Assembly:** UnityEngine.AccessibilityModule

```csharp
[Flags]
public enum AccessibilityState : byte
```

## Remarks

You can use the values in this enumeration to set the [\_state](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/state.md). This property enables screen readers to describe the state of interactive elements, such as whether a checkbox is checked or whether a button is disabled.

If the visual element that the node represents has a state that is not represented by an enumeration option, use the default value, [AccessibilityState.None](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitystate/none.md), and provide information about the node's current state in properties such as the [\_value](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/value.md) and [\_hint](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitynode/hint.md).

Additional Resources:

* [Accessibility for mobile applications](/engine/6000.7/manual/accessibility.md)

* [Sample project using the accessibility APIs](https://github.com/Unity-Technologies/a11y-public-sample)

## Fields

| Value                                                                                                | Description                                                                                                                                               |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Disabled](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitystate/disabled.md) | The visual element represented by the accessibility node is currently disabled and does not respond to user interaction.                                  |
| [Expanded](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitystate/expanded.md) | The visual element represented by the accessibility node is currently expanded, such as an expanded dropdown list or menu.                                |
| [None](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitystate/none.md)         | The accessibility node is not in a predefined state.                                                                                                      |
| [Selected](/engine/6000.7/script-reference/unityengine/accessibility/accessibilitystate/selected.md) | The visual element represented by the accessibility node is currently selected, such as a selected table row or a selected button in a segmented control. |
