Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

GetActionName

« nsIAccessible Page

Summary

This method retrieves the name of the accessible action at the given zero-based index.

 AString getActionName(
   in PRUint8 aIndex
 );

Parameters

aIndex
[in] The zero-based index.

Return value

Returns the name of the accessible action.

Exceptions thrown
Edit section

NS_ERROR_FAILURE
Indicates that the accessible is unattached from the accessible tree.
NS_ERROR_INVALID_ARG
Indicates that the given index is our of range.

See Also

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,