Fieldset label (group-label)

Group related form fields with <fieldset> and include a descriptive <legend> for each group.


Missing fieldset and legend:

These related inputs do not have <fieldset> and <legend> elements:


What is your favorite fruit?






The (DOM/programmatic) structure of the form above looks like this:

Note: Impossible to automatically test or detect. Requires a human tester or AI to determine if a <fieldset> element is needed and where (i.e. which form elements are related), and ensure that a <fieldset> exists if necessary.