It is now provided via the data-form-validate-error-class attribute.
Attach a file by drag & drop or click to upload