Main content

treeitem

Characteristics

Superclass Role:

  • listitem
  • option

Required Context Role:

  • group
  • tree

Inherited States and Properties:

  • aria-atomic
  • aria-busy (state)
  • aria-checked (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-level
  • aria-live
  • aria-owns
  • aria-posinset
  • aria-relevant
  • aria-selected (state)
  • aria-setsize

Name From:

  • contents
  • author

Accessible Name Required:

  • True

An option item of a tree. 

A treeitem role is assigned to the element which is an option within the tree role element. A treeitem can have sub elements within a treeitem. A treeitem which has sub items will have a capability to expand and collapse. A collection of treeitems that have expand/collapse capability should be grouped together using the group role.

Authors must ensure elements with role treeitem are contained in, or owned by, an element with the role group or tree.

Microsoft Active Accessibility accRole Property: 

  • ROLE_SYSTEM_OUTLINEITEM

UI Automation ControlType Property: 

  • TreeItem

UI Automation AriaRole Property: 

  • treeitem
More in this category: « widget treegrid »