Validator
Validator presents validation state; it does not validate remote data, create messages, set ARIA, or announce errors.
Server-owned error
This username is already registered.
Use native constraints on the control. state accepts error, success, warning, or info for explicit application/server presentation. The application remains responsible for useful messages and aria-invalid.