Skip to main content

blockly > FieldImage > getAriaValue

FieldImage.getAriaValue() method

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

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

Signature:

getAriaValue(): string | null;

Returns:

string | null

An ARIA representation of the field's text, or null if no text is currently defined or known for the field.