An accessibility object of the text area role includes the following attributes as shown in Table B-39:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the text area’s parent |
Position | Yes | Point value | Structure containing screen-position coordinates |
Size | Yes | Size value | Structure containing width and height values |
Window | Yes | UIElement | Accessibility object representing the text area’s containing window |
Top-Level UIElement | Yes | UIElement | Accessibility object representing the text area’s containing window, sheet, or drawer |
Help | No | String | Help-tag text for the text area |
Enabled | Yes | Boolean |
|
Focused | Yes | Boolean |
|
Value | Yes | String | Text in the text area |
Selected Text | Yes | String | Selected portion of the text in the text area |
Selected Text Range | Yes | Range value | Position and length (in characters) of the selected portion of the text in the text area |
Number of Characters | Yes | Number | Number of characters in the text in the text area |
Visible Character Range | Yes | Range value | Position and length (in characters) of the text in the text area |
Description | Yes | String | Human-intelligible description of the text area. Not required if the title UIElement attribute is included. |
Title UIElement | No | UIElement | Accessibility object representing the static text that serves as the title for the text area. Not required if the description attribute is included. |
Insertion Point Line Number | No | Number | Line number of current cursor position in text area |
Shared Text UIElements | No | UIElement array | Accessibility objects representing the objects with which the text of this text area is shared. |
Shared Character Range | No | Range value | Range of shared text this text area displays |
Note: A text area object also supports parameterized attributes. See the framework-specific documentation for more information on these attributes.
An accessibility object of the text area role can support the following action:
Confirm. When the confirm action is performed, the selected portion of the text in the text area can display an editing menu.
Last updated: 2008-03-11