Previously all our error messages had the class `error-message`. Where we are using the components from GOV.UK Frontend they have the class `govuk-error-message`. This makes the code which jumps focus to the first error work in both cases.