ariaLabel method

T ariaLabel(
  1. String value
)

Sets the accessible label for screen readers.

Example:

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

Implementation

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