The patch https://gerrit.wikimedia.org/r/c/mediawiki/core/+/621882 improved the handling of error messages to make them more consistency between HtmlForm and OOUIHtmlForm
This impacts at least Special:Contact
The patch set is part of the next train (1.36.0-wmf.20) and the fix should be as well, so creating a task as blocker