describedby property

  1. @override
  2. @Accessor(key: 'aria-describedby')
dynamic describedby

Identifies the element (or elements) that describes the object. See related aria-labelledby.

The aria-labelledby attribute is similar to aria-describedby in that both reference other elements to calculate a text alternative, but a label should be concise, where a description is intended to provide more verbose information.

The element or elements referenced by the aria-describedby comprise the entire description. Include ID references to multiple elements if necessary, or enclose a set of elements (e.g., paragraphs) with the element referenced by the ID.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby

Implementation

@override
@Accessor(key: 'aria-describedby')
dynamic get describedby =>
    (props[_$key__describedby___$AriaPropsMixin] ?? null) as dynamic;
  1. @override
  2. @Accessor(key: 'aria-describedby')
void describedby=(dynamic value)

Identifies the element (or elements) that describes the object. See related aria-labelledby.

The aria-labelledby attribute is similar to aria-describedby in that both reference other elements to calculate a text alternative, but a label should be concise, where a description is intended to provide more verbose information.

The element or elements referenced by the aria-describedby comprise the entire description. Include ID references to multiple elements if necessary, or enclose a set of elements (e.g., paragraphs) with the element referenced by the ID.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby

Implementation

@override
@Accessor(key: 'aria-describedby')
set describedby(dynamic value) =>
    props[_$key__describedby___$AriaPropsMixin] = value;