ariaLabel method
Sets the accessible label for screen readers.
Example:
Button().ariaLabel('Close dialog')('×')
Implementation
ElementBuilder ariaLabel(String value) {
attr('aria-label', StringAttribute(value));
return this;
}
Sets the accessible label for screen readers.
Example:
Button().ariaLabel('Close dialog')('×')
ElementBuilder ariaLabel(String value) {
attr('aria-label', StringAttribute(value));
return this;
}