diff options
| author | Kanishk Pachauri <itskanishkp.py@gmail.com> | 2026-04-23 17:00:52 +0530 |
|---|---|---|
| committer | Saptak Sengupta <saptak013@gmail.com> | 2026-04-27 12:31:31 +0530 |
| commit | 396227777c5712578746dd3ebf46f692478ef470 (patch) | |
| tree | 1da01e34e9de2969c709a8d1e618f6aff25efd2e | |
| parent | b5a8231f687e6181e49b0bdc31d847f725fdb3ef (diff) | |
Fix PR review feedback for fundraising accessibility
3 files changed, 6 insertions, 2 deletions
diff --git a/djangoproject/templates/fundraising/includes/_hero_with_logo.html b/djangoproject/templates/fundraising/includes/_hero_with_logo.html index 25f356ba..cd248457 100644 --- a/djangoproject/templates/fundraising/includes/_hero_with_logo.html +++ b/djangoproject/templates/fundraising/includes/_hero_with_logo.html @@ -1,7 +1,7 @@ {% load i18n static thumbnail %} <div class="hero"> <div class="hero-logo"> - {% if obj.url %}<a href="{{ obj.url }}" rel="nofollow" aria-label="{{ obj.display_name }}">{% endif %} + {% if obj.url %}<a href="{{ obj.url }}" rel="nofollow">{% endif %} {% if obj.logo %} <img src="{{ obj.thumbnail.url }}" diff --git a/djangoproject/templates/fundraising/includes/donation_form_with_heart.html b/djangoproject/templates/fundraising/includes/donation_form_with_heart.html index 6ec78ab2..81cfb225 100644 --- a/djangoproject/templates/fundraising/includes/donation_form_with_heart.html +++ b/djangoproject/templates/fundraising/includes/donation_form_with_heart.html @@ -13,7 +13,7 @@ <text x="50%" y="43%" alignment-baseline="middle" text-anchor="middle">{{ goal_percent }}%</text> </g> <foreignObject> - <img src="{% static 'img/fundraising-heart.svg' %}" alt="{% translate 'Fundraising heart logo' %}" /> + <img src="{% static 'img/fundraising-heart.svg' %}" /> </foreignObject> </switch> </svg> diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index ae6a1c93..0f2eaf00 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -1745,6 +1745,10 @@ msgid "%(goal_percent)s%% funded" msgstr "" #, python-format +msgid "Fundraising progress: %(goal_percent)s percent funded" +msgstr "" + +#, python-format msgid "" "<strong>$%(amount)s donated</strong> of US $%(goal)s goal for " "%(start_date)s" |
