From f2ad05b65c42e5160da512ee1152370215a645f8 Mon Sep 17 00:00:00 2001 From: Paul Marillonnet Date: Wed, 9 Nov 2022 11:23:23 +0100 Subject: [PATCH] accessibility: focus on error message at form submission (#71073) --- gadjo/templates/gadjo/form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gadjo/templates/gadjo/form.html b/gadjo/templates/gadjo/form.html index 7e76df8..3cd39e5 100644 --- a/gadjo/templates/gadjo/form.html +++ b/gadjo/templates/gadjo/form.html @@ -1,6 +1,6 @@ {% load i18n %} {% if form.errors %} -
+

{% trans "There were errors processing your form." %}

{% for error in form.non_field_errors %}

{{ error }}