Semantics

A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.

Abstract Role

WidgetRepresents a focusable, interactive element.

Content Category

Flow ContentAn element that structures and organizes the body of a web document.

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:

  • img[role=scrollbar]
  • div[role=scrollbar]
  • custom-element[role=scrollbar]