IAccessible interface
Exposes methods and properties that make a user interface element and its children accessible to client applications.
When to implement
Servers implement this interface on controls to make them accessible to client applications.
Members
The IAccessible interface inherits from the IDispatch interface. IAccessible also has these types of members:
Methods
The IAccessible interface has these methods.
| Method | Description |
|---|---|
| accDoDefaultAction |
Performs the specified object's default action. Not all objects have a default action. |
| accHitTest |
Retrieves the child element or child object at a given point on the screen. All visual objects support this method. |
| accLocation |
Retrieves the specified object's current screen location. All visual objects support this method. |
| accNavigate |
Note The accNavigate
method is deprecated and should not be used. Clients should use other methods and properties such as AccessibleChildren, get_accChild, get_accParent, and IEnumVARIANT.
Traverses to another user interface element within a container and retrieves the object. All visual objects support this method. |
| accSelect |
Modifies the selection or moves the keyboard focus of the specified object. All objects that support selection or receive the keyboard focus must support this method. |
Properties
The IAccessible interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
accChild | Read-only |
An IDispatch interface for the specified child, if one exists. All objects must support this property. See get_accChild. |
|
accChildCount | Read-only |
The number of children that belong to this object. All objects must support this property. See get_accChildCount. |
|
accDefaultAction | Read-only |
A string that describes the object's default action. Not all objects have a default action. See get_accDefaultAction. |
|
accDescription | Read-only |
Note The accDescription property is not supported in the transition to UI Automation. Microsoft Active Accessibility servers and applications should not use it.
A string that describes the visual appearance of the specified object. Not all objects have a description. |
|
accFocus | Read-only |
The object that has the keyboard focus. All objects that receive the keyboard focus must support this property. See get_accFocus. |
|
accHelp | Read-only |
A help string. Not all objects support this property. See get_accHelp. |
|
accHelpTopic | Read-only |
Note The accHelpTopic property is deprecated and should not be used.
The full path of the help file associated with the specified object and the identifier of the appropriate topic within that file. Not all objects support this property. |
|
accKeyboardShortcut | Read-only |
The object's shortcut key or access key, also known as the mnemonic. All objects that have a shortcut key or an access key support this property. See get_accKeyboardShortcut. |
|
accName | Read-only |
The name of the object. All objects support this property. See get_accName. |
|
accParent | Read-only |
The IDispatch interface of the object's parent. All objects support this property. See get_accParent. |
|
accRole | Read-only |
Information that describes the role of the specified object. All objects support this property. See get_accRole. |
|
accSelection | Read-only |
The selected children of this object. All objects that support selection must support this property. See get_accSelection. |
|
accState | Read-only |
The current state of the object. All objects support this property. See get_accState. |
|
accValue | Read/write |
The value of the object. Not all objects have a value. See get_accValue, put_accValue. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
See also