::spelling-error and ::grammar-error
Limited availability
The ::spelling-error
and ::grammar-error
CSS pseudo-elements match text that is highlighted as misspelled and grammatically incorrect, respectively.
Learning resources on MDN
Browser support
- Chrome 121 Released on 2024-01-23
- Chrome Android 121 Released on 2024-01-23
- Edge 121 Released on 2024-01-25
- Firefox ❌
- Firefox for Android ❌
- Safari 17.4 Released on 2024-03-05
- Safari on iOS 17.4 Released on 2024-03-05
Baseline availability blocked since March 2024 by Firefox (9 months)