Page Title: Crop-Faktor - Formatfaktor - Bildwinkel - Brennweite
May 20, 2018 05:25

Radio buttons must have grouping label

Actions

Severity Action
no actions

Details

Rule ID Control 3
Definition A related group of radio buttons must have a grouping label.
Purpose
  • Radio buttons that provide a set of related options need grouping information and a common grouping label to provide the overall context for those options.
  • Screen readers treat grouping labels differently than standard labels, typically speaking the grouping label only once when focus is first moved to one the groups controls.
WCAG Success Criteria

3.3.2 Labels or Instructions (Level A, Primary Success Criterion)

Rule Category Forms
Scope Element
Target Resources input[type="radio"] elements
Techniques
  • The fieldset/legend element combination is the preferred technique for providing a grouping information and label for a related group of radio buttons.
  • If the fieldset/legend technique cannot be used, use [role=group] on a container element that contains the related radio buttons, and the container element must have an accessible name representing the grouping label.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.