blockly > icons > CommentIcon > getAriaLabel
icons.CommentIcon.getAriaLabel() method
Returns the ARIA label to use for this icon (defaults to null). Note that this method will only be called during initialization by default, so dynamic changes to the icon's ARIA label need to be applied by calling recomputeAriaContext.
Signature:
protected getAriaLabel(): string | null;
Returns:
string | null
The ARIA label to use for this icon, or null to use a default.