# TextField

> The accessibility node behaves like a text field.

## Definition

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

```csharp
TextField = 11
```

### Remarks

**Platform-specific behavior**

* **Android**: If this role is set on a node, the screen reader announces the node as an "edit box".

* **iOS**: This role has no effect.

* **macOS**: If this role is set on a node, the screen reader announces the node as a "text".

* **Windows**: If this role is set on a node, the screen reader announces the node as "edit".

On Android, subscribe to the [\_invoked](/engine/6000.5/script-reference/unityengine/accessibility/accessibilitynode/invoked.md) event to put the text field into edit mode when the user activates it, so that it can receive hardware keyboard input.

On Windows and macOS, subscribe to the [\_focusChanged](/engine/6000.5/script-reference/unityengine/accessibility/accessibilitynode/focuschanged.md) event to select the text field represented by the node when the user navigates to it, so that it can receive keyboard input.
