Function

NSAccessibilityRaiseBadArgumentException

Raises an error if the parameter is the wrong type or has an illegal value

Declaration

void NSAccessibilityRaiseBadArgumentException(id element, NSAccessibilityAttributeName attribute, id value);

Discussion

Raises an error if a parameter is the wrong type or has an illegal value. This function can also be used to raise an error if an attempt is made to set an attribute's value with the wrong type or an illegal value.

See Also

Convenience Functions

NSAccessibilityActionDescription

Returns a standard description for an action.

NSAccessibilityPostNotification

Sends a notification to any observing assistive applications.

NSAccessibilityPostNotificationWithUserInfo

Sends a notification and an optional userInfo dictionary to any observing assistive applications.

NSAccessibilityRoleDescription

Returns a standard description for a role and subrole.

NSAccessibilityRoleDescriptionForUIElement

Returns a standard role description for a user interface element.

NSAccessibilitySetMayContainProtectedContent

Sets whether the app may have protected content.

NSAccessibilityUnignoredChildren

Returns a list of unignored accessibility objects, descending the hierarchy if necessary.

NSAccessibilityUnignoredChildrenForOnlyChild

Returns a list of unignored accessibility objects, descending the hierarchy if necessary.

NSAccessibilityUnignoredDescendant

Returns an unignored accessibility object, descending the hierarchy if necessary.

NSAccessibilityUnignoredAncestor

Returns an unignored accessibility object, ascending the hierarchy if necessary.

NSAccessibilityFrameInView

Returns the frame in screen coordinates.

NSAccessibilityPointInView

Returns the point in screen coordinates.