Skip to main content

blockly > BlockSvg > getAriaLabel

BlockSvg.getAriaLabel() method

Returns a description of this block suitable for screenreaders or use in ARIA attributes.

Signature:

getAriaLabel(verbosity: aria.Verbosity): string;

Parameters

Parameter

Type

Description

verbosity

aria.Verbosity

How much detail to include in the description.

Returns:

string

An accessibility description of this block.