Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Text Area Role

An accessibility object of the text area role includes the following attributes as shown in Table B-39:

Table B-39  Attributes associated with the text area role

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

true if the user can interact with the text area; false otherwise

Focused

Yes

Boolean

true if the text area is focused; false otherwise

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:



< Previous PageNext Page > Hide TOC


Last updated: 2008-03-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice