Codex's Checkbox and Radio components support descriptions along with their labels. But we can't make use of these in HTMLFormFields that display multiple options, because HTMLForm doesn't have the concept of per-option descriptions.
We should add the ability to set descriptions for each option for radio-based and checkbox-based multi-option fields (but not for <select>-based ones, because <option> tags don't provide as much flexibility).
- Add per-option descriptions to
HTMLForm (in the top-level doc comment with all the options)HTMLRadioField - Implement support for them in HTMLRadioField's Codex implementation
-
(Maybe?) implement support for them in HTMLRadioField's OOUI implementation -
(Maybe?) implement support for them in HTMLMultiSelectField