An accessibility object of the menu button role is a command pop-down menu or an icon or bevel button with a pull-down menu. It includes the following attributes as shown in Table B-19:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the menu button’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 menu button’s containing window |
Top-Level UIElement | Yes | UIElement | Accessibility object representing the menu button’s containing window, sheet, or drawer |
Help | No | String | Help-tag text for the menu button |
Enabled | Yes | Boolean |
|
Focused | Yes | Boolean |
|
Title | Yes | String | Text of the menu button’s title. Not required if the button does not display a title. |
Children | Yes | UIElement array | Accessibility object representing the menu |
Description | No | String | Human-intelligible description of the button’s function. Required if the button does not display a title. |
An accessibility object of the menu button role supports the following actions:
Press. When the press action is performed, the menu button’s menu items are available for selection.
Show Menu. When the show menu action is performed, the menu button’s menu items are revealed.
Last updated: 2008-03-11