Semantics

An input that controls another element, such as a listbox or grid, that can dynamically pop up to help the user set the value of the input.

Abstract Role

WidgetRepresents a focusable, interactive element.

Content Category

Phrasing ContentAn element that typically appears inline and provides semantic meaning to text content.

Allowed Descendants

Flow Children Allowed

No main element descendants allowed.

Usage

Elements that can designate the role in HTML:

  • select
  • button[role=combobox]
  • input­[type=­text][role=combobox]
  • span[role=combobox]
  • custom-element[role=combobox]