ドキュメント

Unity Engine

Unity Engine

SearchField

The accessibility node behaves like a search field.
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

SearchField = 4

Remarks

Platform-specific behavior
  • Android: This role does not affect the node's announcement but provides the screen reader with semantic information about the node.
  • iOS: If this role is set on a node, the screen reader announces the node as a "search field".
  • macOS: If this role is set on a node, the screen reader announces the node as a "search text field".
  • Windows: If this role is set on a node, the screen reader announces the node as "edit". The resulting behavior of this role is identical to that of AccessibilityRole.TextField.
On Android, subscribe to the AccessibilityNode.invoked event to put the search field into edit mode when the user activates it, so that it can receive hardware keyboard input.
On Windows and macOS, subscribe to the AccessibilityNode.focusChanged event to select the search field represented by the node when the user navigates to it, so that it can receive keyboard input.