Some experiments with checkbox groups
The goal here is to figure out:
Why does the FormBuilder pattern work?
Does it work universally?
What is the best pattern? Simplest, most functional, most universal.
This example has same instrumentation as FormBuilder
Choice one
Choice two
Choice three
This example removes some of the labeling duplication (aria-label and arialabeledby)
Choice one
Choice two
Choice three
This example is a fieldset and a legend. aria-required and role="group" still present in the wrapper and in the input wrappers
Choice one
Choice two
Choice three
This example is a fieldset and a legend. aria-required and role="group" removed from the wrapper, only present in the input wrappers
Choice one
Choice two
Choice three
This example is a fieldset and a legend. aria-required and role="group" removed from the wrapper, as well as from the input wrappers. Inputs have a required attribute
Choice one
Choice two
Choice three