• Use this action to set the aria-role of an element, for better Accessibility compliance.

    E.g. use this action to change Alert default values for the role attribute. This action should be used only when the pattern's visibility is set to true.

    Parameters

    • widgetId: string
    • role: string

    Returns string