An accessibility object of the button role includes the following attributes as shown in Table B-4:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the 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 button’s containing window |
Top-Level UIElement | Yes | UIElement | Accessibility object representing the button’s containing window, sheet, or drawer |
Help | No | String | Help-tag text for the button |
Enabled | Yes | Boolean |
|
Focused | Yes | Boolean |
|
Title | Yes | String | Visible title of the button. Not required if the button does not display a title in its visible interface. |
Subrole | No | String | Type of the button. Required if the button is a close, zoom, minimize, toolbar, or sort button. |
Edited | No | Boolean |
|
Description | No | String | Human-intelligible description of the button. Required if the button does not display a title. |
An accessibility object of the button role supports the following action:
Press. When the press action is performed, the button is selected.
An accessibility object of the button role can have one of the following subroles:
Close Button. The button represents the close button in a window.
Minimize Button. The button represents the minimize button in a window.
Zoom Button. The button represents the zoom button in a window.
Toolbar Button. The button represents the button to hide and reveal the toolbar in a window.
Increment Arrow. The button represents the increment scroll arrow in a scroll bar object.
Decrement Arrow. The button represents the decrement scroll arrow in a scroll bar object.
Increment Page. The button represents the increment-page area of the scroll track in a scroll bar object.
Decrement Page. The button represents the decrement-page area of the scroll track in a scroll bar object.
Sort Button. The button represents a sort button.
Last updated: 2008-03-11