ariaDescribedBy method

T ariaDescribedBy(
  1. String id
)

References another element by ID for accessible description.

Example:

Input().ariaDescribedBy('help-text')

Implementation

T ariaDescribedBy(String id) {
  attr('aria-describedby', StringAttribute(id));
  return self;
}