Error is not highlighted when username is correct, but not enough characters in password

When registering a new forum, there’s a few inconsistencies in how Discourse displays errors when signing up.

With blank username and password:

When username entered, but password field is blank, can’t be blank error is shown, but input is not highlighted:

When registering with less than required characters, there are no red highlights and also no errors:

3 Likes