An accessibility object of the menu role includes the following attributes as shown in Table B-16:
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 |
|
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:
Cancel. When the confirm action is performed, menu tracking is canceled.
Press. When the press action is performed, the selected menu item in the menu is chosen.
Last updated: 2008-03-11