Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form validation with :user-valid and :user-invalid pseudo-classes #1269

Open
1 task done
zetareticoli opened this issue Nov 8, 2024 · 0 comments
Open
1 task done

Comments

@zetareticoli
Copy link
Member

Does a discussion already exist on the topic you are interested in, or on a similar topic?

  • I verified and it doesn't exist

Library version

v2.11.0

What

We can try to use the new pseudo-classes :user-valid and :user-invalid to stylize the input fields in case of correct/incorrect compilation.

Contrary to :valid and :invalid, the new pseudo-classes give users feedback about mistakes only after they have changed the input.

More on web.dev

Why

Adopt CSS only solutions for interactive changes to user interface.

Context

No response

More

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant