Documentation

Unity Engine

Download Unity

Unity Engine

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:
  1. Select Window > Package Management > Package Manager to open the Package Manager.
  2. Select the Built-in section.
  3. 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

AccessibilityHierarchyThe hierarchy data model that the screen reader uses to navigate and interact with a Unity application.
AccessibilityNodeA 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.
AccessibilitySettingsAccess point to system accessibility settings on the user's device and to events that trigger when the user changes these settings.
AssistiveSupportAccess point to APIs that enable applications made with Unity to support assistive technologies.
VisionUtilityA class containing methods to assist with accessibility for users with different vision capabilities.

Enums

Enum

Description

AccessibilityRoleOptions for defining the role of an AccessibilityNode to screen readers.
AccessibilityScrollDirectionDescribes the direction of a scrolling action.
AccessibilityStateOptions for defining the state of an AccessibilityNode to screen readers.

Interfaces

Interface

Description

IAccessibilityNotificationDispatcherSends accessibility notifications to the screen reader.