Constraint validation rules are widely supported in browsers with the default behaviour to show an error form submission.
There was prefixed rules in Mozilla and Chrome to impact these however there appears to be no approach to standardise the appearance of these validation messages. I’m struggling to find enough resource to suggest how browsers should actually show the messages, perhaps it is just a convention.
Would it make sense to allow the CSS author to use the newly resurrected appearance property to remove user agent styles and mint a new pseudo element?
input::validation-message {
appearance: none;
border: 1px solid orange;
border-radius: 50%;
padding: 1rem;
font-weight: bold;
}
Further resources: