multiselectable property

  1. @override
  2. @Accessor(key: 'aria-multiselectable')
bool? multiselectable

Indicates that the user may select more than one item from the current selectable descendants.

Authors SHOULD ensure that selected descendants have the aria-selected attribute set to true, and selectable descendant have the aria-selected attribute set to false. Authors SHOULD NOT use the aria-selected attribute on descendants that are not selectable.

Note: Lists and trees are examples of roles that might allow users to select more than one item at a time.

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

Implementation

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

Indicates that the user may select more than one item from the current selectable descendants.

Authors SHOULD ensure that selected descendants have the aria-selected attribute set to true, and selectable descendant have the aria-selected attribute set to false. Authors SHOULD NOT use the aria-selected attribute on descendants that are not selectable.

Note: Lists and trees are examples of roles that might allow users to select more than one item at a time.

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

Implementation

@override
@Accessor(key: 'aria-multiselectable')
set multiselectable(bool? value) =>
    props[_$key__multiselectable___$AriaPropsMixin] = value;