You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, input:invalid is used to look like an input with errors. This can be annoying because inputs that the user didn't touch at all look like they have errors, e.g. when the input is required.
To prevent this form happening, we could switch to the newer :user-invalid.
The text was updated successfully, but these errors were encountered:
:user-invalid is way nicer, for sure! Can we apply this enhancement progressively? According to caniuse, the support in blink and webkit only started last year.
Currently,
input:invalid
is used to look like an input with errors. This can be annoying because inputs that the user didn't touch at all look like they have errors, e.g. when the input is required.To prevent this form happening, we could switch to the newer
:user-invalid
.The text was updated successfully, but these errors were encountered: