Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

AccessibilityRole.Header

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The accessibility node behaves like a heading that divides content into sections, such as the title of a navigation bar.


On Windows, if this role is set on a node without a AccessibilityNode.label, the screen reader announces the node as a "header". On other platforms, if this role is set on a node, the screen reader announces the node as a "heading" regardless of whether the node has a label set.

On mobile platforms, this role enables heading navigation, which allows users to more efficiently navigate an application by moving from one heading to the next without having to navigate through all the nodes in between. On Android, this navigation mode can be activated through the "Headings" reading control in TalkBack. On iOS, it can be accessed through the "Headings" control in the VoiceOver rotor.

On macOS, accessibility nodes with this role may be listed in the "Window Spots" menu of the VoiceOver rotor.

Platform support: On Android, this role is only supported starting with Android 9 (API level 28).