From 5a9b45e8a7893fe7255e451348cad9eb95cfe26d Mon Sep 17 00:00:00 2001 From: Ed Horsford Date: Wed, 29 May 2024 16:03:58 +0100 Subject: [PATCH] Update index.md to mention that govuk-frontend javascript will auto-focus for teams --- src/components/error-summary/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/error-summary/index.md b/src/components/error-summary/index.md index d71f57e50e..b2bdb43a16 100644 --- a/src/components/error-summary/index.md +++ b/src/components/error-summary/index.md @@ -23,7 +23,7 @@ Always show an error summary when there is a validation error, even if there’s You must: -- move keyboard focus to the error summary +- move keyboard focus to the error summary (the govuk-frontend javascript will do this for you) - include the heading ‘There is a problem’ - link to each of the answers that have validation errors - make sure the error messages in the error summary are worded the same as those which appear next to the inputs with errors