Skip to content

Commit 2b15552

Browse files
Fix: Add missing alt attributes to F-Droid images in languages page
This commit addresses an HTMLProofer error where F-Droid images were missing alt attributes when a language pack didn't have an F-Droid link. The alt attribute 'F-Droid icon' has been added to these images. Additionally, a minor typo in the Google Play Store link condition (ni -> nil and ""l -> "") has been corrected.
1 parent 3876e5a commit 2b15552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

languages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
{% endif %}
1616

1717
{% if language.f-droid == nil or language.f-droid == "" %}
18-
<img class="no-link-found not-full-icon" src="/images/fdroid.png" width="32px" height="32px"/></a>
18+
<img class="no-link-found not-full-icon" src="/images/fdroid.png" width="32px" height="32px" alt="F-Droid icon"/></a>
1919
{% else %}
2020
<a href="{{ language.f-droid }}"><img class="not-full-icon" src="/images/fdroid.png" alt="{{ language.name }} on f-droid" width="32px" height="32px"/></a>
2121
{% endif %}
2222

23-
{% if language.play == ni or language.play == ""l %}
23+
{% if language.play == nil or language.play == "" %}
2424
<img class="no-link-found not-full-icon" src="/images/play.png" width="32px" height="32px"/></a>
2525
{% else %}
2626
<a href="{{ language.play }}"><img class="not-full-icon" src="/images/play.png" alt="{{ language.name }} on Google Play Store" width="32px" height="32px"/></a>

0 commit comments

Comments
 (0)