Main content

tree

Characteristics

Superclass Role:

  • select

Subclass Roles:

  • treegrid

Required Owned Elements:

  • group  treeitem
  • treeitem

Supported States and Properties:

  • aria-multiselectable
  • aria-required

Inherited States and Properties:

  • aria-activedescendant
  • aria-atomic
  • aria-busy (state)
  • aria-controls
  • aria-describedby
  • aria-disabled (state)
  • aria-dropeffect
  • aria-expanded (state)
  • aria-flowto
  • aria-grabbed (state)
  • aria-haspopup
  • aria-hidden (state)
  • aria-invalid (state)
  • aria-label
  • aria-labelledby
  • aria-live
  • aria-owns
  • aria-relevant

Name From:

  • author

Accessible Name Required:

  • True

A type of list that may contain sub-level nested groups that can be collapsed and expanded.

A tree role is assigned to the list that has the capability to expand and collapse. A tree element will have sub elements called tree items. The treeitem can be marked with treeitem role.

To be keyboard accessible, authors should manage focus of descendants for all instances of this role.

Microsoft Active Accessibility accRole Property: 

  • ROLE_SYSTEM_OUTLINE

UI Automation ControlType Property: 

  • Tree

UI Automation AriaRole Property: 

  • tree
More in this category: « treegrid tooltip »