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

< Previous PageNext Page > Hide TOC

Menu Role

An accessibility object of the menu role includes the following attributes as shown in Table B-16:

Table B-16  Attributes associated with the menu role

Attribute

Required

Type

Description

Parent

Yes

UIElement

Accessibility object representing the menu’s parent

Position

Yes

Point value

Structure containing screen-position coordinates

Size

Yes

Size value

Structure containing width and height values

Help

No

String

Help-tag text for the menu

Enabled

Yes

Boolean

true if the user can interact with the menu; false otherwise

Title UIElement

Yes

UIElement

Accessibility object representing the object that serves as title of the menu (such as a menu bar item or menu item)

Children

Yes

UIElement array

Accessibility object representing the menu items the menu displays

Selected Children

Yes

UIElement array

Accessibility objects representing currently selected menu items in the menu

Visible Children

Yes

UIElement array

Accessibility objects representing currently visible menu items in the menu

An accessibility object of the menu role can support the following actions:



< 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