Re: [csswg-drafts] [css-selectors-4] `:user-invalid` and `:user-valid` should not require a blur event to trigger (#9583)

@argyleink brings up a good point, I too came from Angular world and would love to see native `:touched` as well as `:dirty` that was linked above by @SebastianZ

I was surprised to see that `:user-invalid` does not trigger on blur on required inputs, it only does so when I type a value and then clear it manually before blur. That's not a good UX — user should be notified they forgot the required value when navigating through the form.

-- 
GitHub Notification of comment by waterplea
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9583#issuecomment-2345483593 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 12 September 2024 07:33:14 UTC