Skip to main content

blockly > Block > getAriaRoleDescription

Block.getAriaRoleDescription() method

Signature:

getAriaRoleDescription(): string;

Returns:

string

The string to use as the role description for this block. If a custom provider has been set, use that. Otherwise, return a default description based on the block's properties.