ARIA Widget Roles

ARIA role: radiogroup

A named group of mutually exclusive radio options. Native fieldset plus same-name radios is usually preferable. For custom radiogroup use radio children and roving focus; arrow keys normally change selection. The example demonstrates a native equivalent or preferred alternative and deliberately omits redundant ARIA. Explicit roles do not implement visual presentation, interaction or focus management; verify allowed role/element combinations in ARIA in HTML. Accessibility exposure varies with browser, platform and assistive technology. Test relevant combinations; rendering is not proof of accessibility.

Formal Syntax & Structure

html syntaxhtml
role="radiogroup"

Parameters & Attributes

NameTypeDescription
roletokenExplicit role token radiogroup; use only where allowed. Omit when native semantics match.

Working Example

Example Snippethtml
<fieldset>  <legend>Delivery</legend>  <label>    <input type="radio" name="d" checked>    Pickup  </label>  <label>    <input type="radio" name="d">    Courier  </label></fieldset>
HTML Reference