:user-valid and :user-invalid
The :user-valid and :user-invalid pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.
Status
Baseline Widely Available (since 2026-05-02)
MDN documentation
Specifications
Browser support
- Chrome 119 Released on 2023-10-31
- Chrome Android 119 Released on 2023-10-31
- Edge 119 Released on 2023-11-02
- Firefox 88 Released on 2021-04-19
- Firefox for Android 88 Released on 2021-04-19
- Safari 16.5 Released on 2023-05-18
- Safari on iOS 16.5 Released on 2023-05-18
Usage (according to Chrome Platform Status)
~0.296% of page loads. More data at chromestatus.com.Interop
- Included in Interop 2023
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist