# AccessibilityNode

> An instance of a node in the AccessibilityHierarchy, representing an element in the UI that the screen reader can read, focus, and execute actions on.

## Definition

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

```csharp
public class AccessibilityNode
```

## Properties

| Property                                                                                                                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [allowsDirectInteraction](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/allowsdirectinteraction.md) | Whether this node allows direct touch interaction for users.                                                                                                                                                                                                                                                                                                                                                                                            |
| [children](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/children.md)                               | The children nodes of the node.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [frame](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/frame.md)                                     | The [Rect](/engine/6000.0/script-reference/unityengine/rect.md) represents the position in screen coordinates of the node in the UI. This can be set directly but it is recommended that [AccessibilityNode.frameGetter](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/framegetter.md) is set instead, so that the value can be recalculated when necessary.                                                              |
| [frameGetter](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/framegetter.md)                         | Optional delegate that can be set to calculate the [AccessibilityNode.frame](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/frame.md) for the node instead of setting a flat value. If the frame of the node may change over time, this delegate should be set instead of giving a one time value for the [AccessibilityNode.frame](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/frame.md). |
| [hint](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/hint.md)                                       | Provides additional information about the accessibility node. For example, the result of performing an action on the node.                                                                                                                                                                                                                                                                                                                              |
| [id](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/id.md)                                           | The ID of this node.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [isActive](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/isactive.md)                               | Whether this node is active in the hierarchy. The default value is `true`.                                                                                                                                                                                                                                                                                                                                                                              |
| [isFocused](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/isfocused.md)                             | Whether the node is focused by the screen reader.                                                                                                                                                                                                                                                                                                                                                                                                       |
| [label](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/label.md)                                     | A string value that succinctly describes this node. The [AccessibilityNode.label](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/label.md) is the first thing read by the screen reader when a node is focused.                                                                                                                                                                                                            |
| [parent](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/parent.md)                                   | The parent of the node. If the node is at the root level, the [AccessibilityNode.parent](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/parent.md) value is `null`.                                                                                                                                                                                                                                                        |
| [role](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/role.md)                                       | The role for the node.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [state](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/state.md)                                     | The state for the node.                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [value](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/value.md)                                     | The value of this node.                                                                                                                                                                                                                                                                                                                                                                                                                                 |

## Methods

| Method                                                                                                    | Description                  |
| --------------------------------------------------------------------------------------------------------- | ---------------------------- |
| [GetHashCode](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/gethashcode.md) | A hash used for comparisons. |
| [ToString](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/tostring.md)       | Provides a debugging string. |

## Events

| Member                                                                                                      | Description                                                                   |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [decremented](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/decremented.md)   | Called when the user of the screen reader decrements the content of the node. |
| [dismissed](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/dismissed.md)       | Called when the user of the screen reader dismisses this node.                |
| [focusChanged](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/focuschanged.md) | Called when the node gains or loses screen reader focus.                      |
| [incremented](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/incremented.md)   | Called when the user of the screen reader increments the content of the node. |
| [selected](/engine/6000.0/script-reference/unityengine/accessibility/accessibilitynode/selected.md)         | Called when the user of the screen reader selects this node.                  |
