Logical grouping of elements (logical-grouping)
Group focusable elements (e.g., form fields, buttons, links) logically within their sections—such as wrapping related inputs in a fieldset or placing related buttons side by side.
Form grouped illogically:
This form has elements that disrupt its logic (i.e. this form isn't logically grouped or ordered):