Why is checkValidity() on type="email" so rubbish?
It returns true for values like
string@char
…so it’s not looking for a valid domain 🤦♂️
Why do browser vendors not integrate a pattern check such as:
/^[\w._%+-]+@[\w.-]+\.[a-z]{2,}$/
?
- - -
Similar for input.validity.typeMismatch where
string@x returns false 🤪