An accessibility object of the window role includes the following attributes as shown in Table B-44:
Attribute | Required | Type | Description |
|---|---|---|---|
Parent | Yes | UIElement | Accessibility object representing the window’s parent |
Position | Yes | Point value | Structure containing screen-position coordinates |
Size | Yes | Size value | Structure containing width and height values |
Subrole | Yes | String | Type of the window |
Title | Yes | String | Visible title of the window |
Focused | Yes | Boolean |
|
Children | Yes | UIElement array | Accessibility objects representing the window’s children |
Main | Yes | Boolean |
|
Minimized | Yes | Boolean |
|
Close Button | Yes | UIElement | Accessibility object representing the close button |
Minimize Button | Yes | UIElement | Accessibility object representing the minimize button |
Zoom Button | Yes | UIElement | Accessibility object representing the zoom button |
Grow Area | Yes | UIElement | Accessibility object representing the grow area |
Proxy | No | UIElement | Accessibility object representing a document window’s icon |
Toolbar Button | No | UIElement | Accessibility object representing the toolbar button |
Default | No | UIElement | Accessibility object representing the default button |
Cancel | No | UIElement | Accessibility object representing the Cancel button |
Document | No | String | URL or path for the document displayed in the window |
Modal | No | Boolean |
|
An accessibility object of the window role supports the following action:
Raise. When the raise action is performed, this window becomes frontmost.
An accessibility object of the window role should have one of the following subroles:
Standard Window. The window is a standard application or document window.
Dialog. The window is a modeless dialog, such as a Find dialog.
System Dialog. The window is a system-wide modeless dialog, such as the restart dialog.
Floating Window. The window is a utility or information window, such as the Color Picker window.
System Floating Window. The window is a system-wide utility or information window, such as the About This Mac window.
Last updated: 2008-03-11