User experience and browser behavior
A visual red border alone does not expose an error. Clearing fields or replacing the form during submission can lose user input and focus.
- Start from native browser semantics
- Test loading, error and interaction states
- Measure user experience on representative devices