aria-multiselectable
Characteristics
Type:
- String
Used in Roles:
- grid
- listbox
- tablist
- tree
Inherits into Roles:
- treegrid
Value:
- true/false
- true: More than one item may be selected.
- false (default): Only one item can be selected.
Indicates that the user may select more than one item from the current selectable descendants.
This property indicates whether a user may select more then one item from the current list. Lists, trees, and grids may allow users to select more than one item.
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 For cross-browser compatibility, always use the aria attribute syntax to access and modify aria properties, for example object.setAttribute("aria-valuenow", newValue).
Syntax
HTML <element aria-multiselectable="p" ... > JavaScript object.setAttribute("aria-multiselectable",value);var value = object.getAttribute("aria-multiselectable");
Microsoft Active Accessibility Properties:
- STATE_SYSTEM_EXTSELECTABLE (get_accState)
UI Automation Properties:
- CanSelectMultiple (Selection Pattern)
UI Automation AriaProperties Property:
- multiselectable