The words and layout need to explain what went wrong and what the person can do next. A red box alone does not achieve much.
Would you ask for the messages and the visual states together? Which examples would you include besides an empty required field?