The Accessibility module includes APIs and tools that facilitate the development of accessible user experiences in Unity.
This module is enabled by default in all new projects. To enable it in an older project, do the following in the Unity Editor:
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:
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. |
Enumeration | 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. |