An accessibility object of the menu bar item role includes the following attributes as shown in Table B-17:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the menu bar item’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 bar item |
Enabled | Yes | Boolean |
|
Title | Yes | String | Text title of the menu bar item |
Children | Yes | UIElement array | Accessibility object representing the menu the menu bar item displays |
Selected Children | Yes | UIElement array | Accessibility objects representing currently selected menu items in the menu the menu bar item displays |
Visible Children | Yes | UIElement array | Accessibility objects representing currently visible menu items in the menu the menu bar item displays |
Serves as Title for UIElements | No | UIElement array | The accessibility object representing the menu that is the child of this object |
An accessibility object of the menu bar item 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 bar item’s menu is chosen.
Last updated: 2008-03-11