Accessibility/Comparisons:AT SPI To UA
AT-SPI interfaces to Universal Access
This page attempts to give an overview of most of AT-SPI's interfaces, and how they map to Universal Access.
Note that it's not complete, and if you are considering to implement UA support, your main reference should always be Apple's official documentation. You are encouraged to add, and edit entries to help out.
Accessibility::Accessible
AT-SPI | UA |
---|---|
boolean isEqual (in Accessible obj) | [accessible isEqual:otherAccessible]; |
Accessible getChildAtIndex (in long index) | Get the children array of the NSAccessibilityChildrenAttribute |
long getIndexInParent () | - |
RelationSet getRelationSet () | - |
Role getRole () | Get the value of the NSAccessibilityRoleAttribute |
string getRoleName () | The returned string above is the role name. |
string getLocalizedRoleName () | The role name is always localized. |
StateSet getState () | In UA, you can get all attributes an object supports by calling [accessible accessibilityAttributeNames]; |
AttributeSet getAttributes () | See above. |
Application getApplication () | - |
Accessible getDocumentObject () | - |