---
id: "form-validity-pseudos"
kind: "web-feature"
canonical: "https://timetostable.com/feature/form-validity-pseudos"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Form validity pseudo-classes (`form-validity-pseudos`)

The form validity CSS pseudo-classes match <form> elements based on the constraints of a form field, such as validity (:valid, :invalid, :in-range, :out-of-range) and necessity (:optional or :required).

- **Group**: Selectors
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://drafts.csswg.org/selectors-4/#ui-validity
- **Constituent BCD keys**: 8

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 5 | 2010-06-07 |
| Chrome | 10 | 2011-03-08 |
| Firefox | 4 | 2011-03-22 |
| Firefox for Android | 4 | 2011-03-29 |
| Safari on iOS | 5 | 2011-10-12 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

