Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Button

The accessibility node behaves like a button.
Read time 1 minuteLast updated 6 days ago

Definition

Button = 1

Remarks

If this role is set on a node, the screen reader announces the node as a "button". On Android and macOS, after a short pause, it also provides instructions on how to activate the node.
Subscribe to the _invoked event to inform the screen reader that the node can be activated, and perform an appropriate action when the user activates it, such as invoking the button represented by the node.