ariaLabelledBy property

String? get ariaLabelledBy

The aria-labelledby value to apply to the button, or null.

Must also include the id of the button to read both.

Implementation

String? get ariaLabelledBy =>
    _ariaLabelledBy == null ? null : '$_ariaLabelledBy $uuid';
  1. @Input()
set ariaLabelledBy (String? labelledBy)

The id of an element that additionally describes the button.

For example, a text element that says "results per page" for a dropdown with numerical options.

Implementation

@Input()
set ariaLabelledBy(String? labelledBy) => _ariaLabelledBy = labelledBy;