UnityEngine.AccessibilityModule
The Accessibility module includes APIs and tools that facilitate the development of accessible user experiences in Unity.
Read time 1 minuteLast updated 3 hours ago
Definition
- Type: Module
Remarks
This module is enabled by default in all new projects. To enable it in an older project, do the following in the Unity Editor:
- Select Window > Package Management > Package Manager to open the Package Manager.
- Select the Built-in section.
- Select the Accessibility module and click Enable.
Alternatively, you can add this line to the Packages/manifest.json file to enable the module:
"com.unity.modules.accessibility": "1.0.0",Additional Resources:
Classes
Class | Description |
|---|---|
| AccessibilityHierarchy | The hierarchy data model that the screen reader uses to navigate and interact with a Unity application. |
| AccessibilityNode | A node in the AccessibilityHierarchy representing a visual element, such as a UI element or an element that is part of your game, that needs to be accessible to the screen reader. |
| AccessibilitySettings | Access point to system accessibility settings on the user's device and to events that trigger when the user changes these settings. |
| AssistiveSupport | Access point to APIs that enable applications made with Unity to support assistive technologies. |
| VisionUtility | A class containing methods to assist with accessibility for users with different vision capabilities. |
Enums
Enum | Description |
|---|---|
| AccessibilityRole | Options for defining the role of an AccessibilityNode to screen readers. |
| AccessibilityScrollDirection | Describes the direction of a scrolling action. |
| AccessibilityState | Options for defining the state of an AccessibilityNode to screen readers. |
Interfaces
Interface | Description |
|---|---|
| IAccessibilityNotificationDispatcher | Sends accessibility notifications to the screen reader. |