Semantics

An input where the user selects a value from within a given range.

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

Phrasing Children Allowed

Note

Children Become Presentational

Browsers automatically apply the presentation role to all descendant elements, so their semantics are not conveyed to assistive technologies.

Usage

Elements that can designate the role in HTML:

  • input­[type=­range]
  • img[role=slider]
  • span[role=slider]
  • custom-element[role=slider]