Semantics

A checkable input in a group of elements with the same role, only one of which can be checked at a time.

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

No interactive content descendants, and no descendants with a tabindex attribute specified.

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=­radio]
  • a­[href][role=radio]
  • button[role=radio]
  • img[role=radio]
  • span[role=radio]
  • custom-element[role=radio]