Semantics

A checkable menuitem in a set 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

Only Used with Specific Parent Roles

This role must be a direct descendant of one of the following roles:

  • menu
  • menubar
  • group

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:

  • a­[href][role=menuitemradio]
  • button[role=menuitemradio]
  • img[role=menuitemradio]
  • input­[type=­radio][role=menuitemradio]
  • div[role=menuitemradio]
  • custom-element[role=menuitemradio]