blockly > comments > CommentBarButton > recomputeAriaContext
comments.CommentBarButton.recomputeAriaContext() method
Recomputes the ARIA label and role for this button. Note that this is not automatically called during initialization and must be called once a button's focusable element (icon) is initialized. Implementations may also find it useful to call this if the button's label should be changed.
Signature:
protected recomputeAriaContext(): void;
Returns:
void