When is Cardinality Reported for Groups of Checkboxes and Radio Buttons

The examples on this page should be tested with a variety of screen readers to determine when (and how) the cardinality of the groups of checkboxes or radio buttons is reported.

Support Summary:

Fieldset and Legend Grouping of Checkboxes, No List

Example One



Fieldset and Legend Grouping of Radio Buttons, No List

Example Two



Fieldset and Legend Grouping of Checkboxes, Inputs in List

Example Three

Fieldset and Legend Grouping of Checkboxes, Inputs in List (List Not Visible)

Example Three A

Fieldset and Legend Grouping of Checkboxes, Inputs in List (List Not Visible But with ARIA Shimmed-in List Semantics)

Shimmed-in role="list" and role="listitem to re-establish list semantics for AT/browsers that lose the semantics when the list style is set to "none."

Example Three B

Fieldset and Legend Grouping of Radio Buttons, Inputs in List

Example Four

Grouping of Checkboxes Using Role Group, No List

Example Five




Grouping of Radio Buttons Using Role Group, No List

Example Six




Fieldset of Checkboxes Using Role Group, Inputs in List

Example Seven

Fieldset of Checkboxes Using Role Group, Using aria-posinset and aria-setsize to Attempt to Assert Cardinality

Using aria-posinset and aria-setsize on the inputs to try to force some cardinality. This technique will throw an axe error, since neither ARIA attribute is allowed on an input and are not considered “global” ARIA attributes.

Example Seven A




Fieldset of Radio Buttons Using Role Group, Inputs in List

Example Eight

Do Radio Buttons Just Get Cardinality From the Name Attribute?