Most importantly, when the field is focused.
Native form validation — part 3
Peter-Paul Koch

I’m not sure this is correct. I’ve tested in Chrome, Firefox, and Edge, and the error message stays visible until I correct the field. Demo:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.