ariaLabel method

ElementBuilder ariaLabel(
  1. String value
)

Sets the accessible label for screen readers.

Example:

Button().ariaLabel('Close dialog')('×')

Implementation

ElementBuilder ariaLabel(String value) {
  attr('aria-label', StringAttribute(value));
  return this;
}