A blur event fires when an element loses focus. Clicking or tabbing away from a form field triggers it, allowing JavaScript to detect that the user has interacted with the field. section 10.8
Showing errors after interaction
A form script listens for blur events and adds a dirty class to the field that was left. CSS can then combine .dirty with :invalid so error messages appear only for invalid fields the user has touched, rather than before interaction. section 10.8

