Skip to main content

blockly > comments > CommentBarButton > getAriaLabel

comments.CommentBarButton.getAriaLabel() method

Returns the ARIA label to use for this button (defaults to null). Note that this method will only be called and apply when recomputeAriaContext is called.

Signature:

protected getAriaLabel(): string | null;

Returns:

string | null

The ARIA label to use for this button, or null to use a default.