Skip to main content

blockly > icons > Icon > recomputeAriaContext

icons.Icon.recomputeAriaContext() method

Recomputes the ARIA label and role for this icon. This is automatically called during initialization, but implementations may find it useful to call this if the icon's label should be changed.

Signature:

protected recomputeAriaContext(): void;

Returns:

void