From ca0eff6c74e984eb819b7bfc07007f226a26683f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jul 2019 14:15:13 +0200 Subject: [PATCH] a11y: add title attribute to asterisk marking required fields (#34792) --- gadjo/templates/gadjo/widget.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gadjo/templates/gadjo/widget.html b/gadjo/templates/gadjo/widget.html index cde9f9d..2068473 100644 --- a/gadjo/templates/gadjo/widget.html +++ b/gadjo/templates/gadjo/widget.html @@ -1,3 +1,4 @@ +{% load i18n %}
{{ field.label_tag }} - {% if field.field.required %}*{% endif %} + {% if field.field.required %}*{% endif %}
{% endblock %} {% block widget-content %}