Form labels (form-label)
All <input> elements have visible or
programmatically associated labels.
Incorrect for/id pairing:
This label has incorrect for/id
pairings:
The (DOM/programmatic) structure of the above input field & its
corresponding label looks like this:
<label for="invalid-for">Type something here:</label>
<input type="text" id="text" name="text" />
Note: Hard to automatically test or detect. Requires a human tester or AI
to determine if error messages can be considered properly linked & placed.