Skip to content

Commit 25a1de2

Browse files
committed
Hide decorative <hr> from screen readers
1 parent e634302 commit 25a1de2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

djangoproject/templates/fundraising/manage-donations.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% for message in messages %}
88
<p>{{ message }}</p>
99
{% endfor %}
10-
<hr>
10+
<hr aria-hidden="true" />
1111
{% endif %}
1212

1313
{% endblock %}
@@ -36,7 +36,7 @@ <h2>{% translate "Manage your participation in the fundraising campaigns" %}</h2
3636
{# Always include to avoid "Management form has been tampered with" if no recurring donations exist #}
3737
{{ modify_donations_formset.management_form }}
3838
{% if recurring_donations %}
39-
<hr />
39+
<hr aria-hidden="true" />
4040
<h2>{% translate "Modify your recurring donations" %}</h2>
4141
<p>{% translate "Update the time interval or amount of your recurring donation here:" %}</p>
4242
{% for form in modify_donations_formset %}
@@ -51,7 +51,7 @@ <h2>{% translate "Modify your recurring donations" %}</h2>
5151
<button type="submit" class="cta arrow">{% translate "Save" context "Save personal details about donation" %}</button>
5252
</div>
5353
</form>
54-
<hr />
54+
<hr aria-hidden="true" />
5555
<h2>{% translate "Cancel your recurring donations" %}</h2>
5656
<p>{% translate "You can cancel your recurring donation to the Django Software Foundation anytime." %}</p>
5757
<ul>
@@ -72,7 +72,7 @@ <h2>{% translate "Cancel your recurring donations" %}</h2>
7272
</form>
7373
{% endif %}
7474
{% if past_payments %}
75-
<hr />
75+
<hr aria-hidden="true" />
7676
<h2>{% translate "Your past donations" %}</h2>
7777
<ul>
7878
{% for payment in past_payments %}

0 commit comments

Comments
 (0)