Main content

option

Characteristics

Superclass Role:

  • input

Subclass Roles:

  • radio
  • treeitem

Base Concept:

  • HTML option

Related Concepts:

  • listitem
  • XForms item

Required Context Role:

  • listbox

Supported States and Properties:

  • aria-checked (state)
  • aria-posinset
  • aria-selected (state)
  • aria-setsize

Inherited States and Properties:

  • aria-atomic
  • aria-busy (state)
  • aria-controls
  • aria-describedby
  • aria-disabled (state)
  • aria-dropeffect
  • 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:

  • contents
  • author

Accessible Name Required:

  • True

A selectable item in a select list.

An option (role) is assigned to the items in a list which are selectable. 

Authors must ensure elements with role option are contained in, or owned by, an element with the role listbox. Options not associated with a listbox might not be correctly mapped to an accessibility API.

Microsoft Active Accessibility accRole Property: 

  • ROLE_SYSTEM_LISTITEM

UI Automation ControlType Property: 

  • ListItem

UI Automation AriaRole Property: 

  • option
More in this category: « presentation note »