Skip to main content

blockly > FieldNumber > getAriaTypeName

FieldNumber.getAriaTypeName() method

Gets an ARIA-friendly label representation of this field's type.

Implementations are responsible for, and encouraged to, return a localized version of the ARIA representation of the field's type.

Signature:

getAriaTypeName(): string | null;

Returns:

string | null

An ARIA representation of the field's type or a default if it is unspecified.