Add fieldset and legend for grouping related form inputs

When creating accessible forms, it's important to use fieldset and legend to group related controls/inputs, such as check boxes or radio buttons that answer a single question.

There are workarounds that use ARIA, but not every browser/screen reader combination will pick those up, and it's best practice to use semantic HTML elements if available rather than ARIA.


  • Katherine
  • Feb 9 2022