[a11y] Add text "required" to label of required inputs (#1923)

This commit is contained in:
Richard Schreiber
2021-02-12 14:05:30 +01:00
committed by GitHub
parent c8d039b196
commit 825fd1820b
2 changed files with 65 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
{% load rich_text %}
{% block inner %}
<p>{% trans "Before we continue, we need you to answer some questions." %}</p>
<p class="required-legend">
<p class="required-legend" aria-hidden="true">
{% blocktrans trimmed %}
You need to fill all fields that are marked with <span>*</span> to continue.
{% endblocktrans %}