unused/confusing icon alt text

This commit is contained in:
mi
2025-11-14 18:31:31 +10:00
parent 733c8f2d32
commit ff8bdf9a31
2 changed files with 15 additions and 15 deletions

View File

@@ -59,17 +59,17 @@
<ul class="nav-links"> <ul class="nav-links">
<li> <li>
<a href="{{ url_for('index') }}" {% if request.endpoint == 'index' %}class="active"{% endif %}> <a href="{{ url_for('index') }}" {% if request.endpoint == 'index' %}class="active"{% endif %}>
{% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/alert.png') }}" alt="" class="nav-icon">{% endif %}Latest {% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/alert.png') }}" alt="" class="nav-icon" aria-hidden="true">{% endif %}Latest
</a> </a>
</li> </li>
<li> <li>
<a href="{{ url_for('archive') }}" {% if request.endpoint == 'archive' %}class="active"{% endif %}> <a href="{{ url_for('archive') }}" {% if request.endpoint == 'archive' %}class="active"{% endif %}>
{% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/archive.png') }}" alt="" class="nav-icon">{% endif %}Archive {% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/archive.png') }}" alt="" class="nav-icon" aria-hidden="true">{% endif %}Archive
</a> </a>
</li> </li>
<li> <li>
<a href="{{ url_for('about') }}" {% if request.endpoint == 'about' %}class="active"{% endif %}> <a href="{{ url_for('about') }}" {% if request.endpoint == 'about' %}class="active"{% endif %}>
{% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/info.png') }}" alt="" class="nav-icon">{% endif %}About {% if use_header_nav_icons %}<img src="{{ url_for('static', filename='images/icons/info.png') }}" alt="" class="nav-icon" aria-hidden="true">{% endif %}About
</a> </a>
</li> </li>
</ul> </ul>
@@ -92,7 +92,7 @@
{% if social_instagram %} {% if social_instagram %}
<a href="{{ social_instagram }}" target="_blank" rel="noopener noreferrer" aria-label="Instagram"> <a href="{{ social_instagram }}" target="_blank" rel="noopener noreferrer" aria-label="Instagram">
{% if use_footer_social_icons %} {% if use_footer_social_icons %}
<img src="{{ url_for('static', filename='images/icons/instagram.png') }}" alt="Instagram" class="social-icon"> <img src="{{ url_for('static', filename='images/icons/instagram.png') }}" alt="" class="social-icon">
{% else %} {% else %}
Instagram Instagram
{% endif %} {% endif %}
@@ -101,7 +101,7 @@
{% if social_youtube %} {% if social_youtube %}
<a href="{{ social_youtube }}" target="_blank" rel="noopener noreferrer" aria-label="YouTube"> <a href="{{ social_youtube }}" target="_blank" rel="noopener noreferrer" aria-label="YouTube">
{% if use_footer_social_icons %} {% if use_footer_social_icons %}
<img src="{{ url_for('static', filename='images/icons/youtube.png') }}" alt="YouTube" class="social-icon"> <img src="{{ url_for('static', filename='images/icons/youtube.png') }}" alt="" class="social-icon">
{% else %} {% else %}
YouTube YouTube
{% endif %} {% endif %}
@@ -110,7 +110,7 @@
{% if social_email %} {% if social_email %}
<a href="{{ social_email }}" aria-label="Email"> <a href="{{ social_email }}" aria-label="Email">
{% if use_footer_social_icons %} {% if use_footer_social_icons %}
<img src="{{ url_for('static', filename='images/icons/mail .png') }}" alt="Email" class="social-icon"> <img src="{{ url_for('static', filename='images/icons/mail .png') }}" alt="" class="social-icon">
{% else %} {% else %}
Email Email
{% endif %} {% endif %}
@@ -118,7 +118,7 @@
{% endif %} {% endif %}
<a href="{{ url_for('static', filename='feed.rss') }}" aria-label="RSS Feed"> <a href="{{ url_for('static', filename='feed.rss') }}" aria-label="RSS Feed">
{% if use_footer_social_icons %} {% if use_footer_social_icons %}
<img src="{{ url_for('static', filename='images/icons/rss.png') }}" alt="RSS" class="social-icon"> <img src="{{ url_for('static', filename='images/icons/rss.png') }}" alt="" class="social-icon">
{% else %} {% else %}
RSS Feed RSS Feed
{% endif %} {% endif %}

View File

@@ -51,17 +51,17 @@
{# Icon-based navigation #} {# Icon-based navigation #}
{% if comic.number > 1 %} {% if comic.number > 1 %}
<a href="{{ url_for('comic', comic_id=1) }}" class="btn-icon-nav" aria-label="First"> <a href="{{ url_for('comic', comic_id=1) }}" class="btn-icon-nav" aria-label="First">
<img src="{{ url_for('static', filename='images/icons/first.png') }}" alt="First"> <img src="{{ url_for('static', filename='images/icons/first.png') }}" alt="">
</a> </a>
<a href="{{ url_for('comic', comic_id=comic.number - 1) }}" class="btn-icon-nav" aria-label="Previous"> <a href="{{ url_for('comic', comic_id=comic.number - 1) }}" class="btn-icon-nav" aria-label="Previous">
<img src="{{ url_for('static', filename='images/icons/previous.png') }}" alt="Previous"> <img src="{{ url_for('static', filename='images/icons/previous.png') }}" alt="">
</a> </a>
{% else %} {% else %}
<span class="btn-icon-nav btn-icon-disabled" aria-label="First"> <span class="btn-icon-nav btn-icon-disabled" aria-label="First">
<img src="{{ url_for('static', filename='images/icons/first.png') }}" alt="First"> <img src="{{ url_for('static', filename='images/icons/first.png') }}" alt="">
</span> </span>
<span class="btn-icon-nav btn-icon-disabled" aria-label="Previous"> <span class="btn-icon-nav btn-icon-disabled" aria-label="Previous">
<img src="{{ url_for('static', filename='images/icons/previous.png') }}" alt="Previous"> <img src="{{ url_for('static', filename='images/icons/previous.png') }}" alt="">
</span> </span>
{% endif %} {% endif %}
@@ -69,17 +69,17 @@
{% if comic.number < total_comics %} {% if comic.number < total_comics %}
<a href="{{ url_for('comic', comic_id=comic.number + 1) }}" class="btn-icon-nav" aria-label="Next"> <a href="{{ url_for('comic', comic_id=comic.number + 1) }}" class="btn-icon-nav" aria-label="Next">
<img src="{{ url_for('static', filename='images/icons/next.png') }}" alt="Next"> <img src="{{ url_for('static', filename='images/icons/next.png') }}" alt="">
</a> </a>
<a href="{{ url_for('comic', comic_id=total_comics) }}" class="btn-icon-nav" aria-label="Latest"> <a href="{{ url_for('comic', comic_id=total_comics) }}" class="btn-icon-nav" aria-label="Latest">
<img src="{{ url_for('static', filename='images/icons/latest.png') }}" alt="Latest"> <img src="{{ url_for('static', filename='images/icons/latest.png') }}" alt="">
</a> </a>
{% else %} {% else %}
<span class="btn-icon-nav btn-icon-disabled" aria-label="Next"> <span class="btn-icon-nav btn-icon-disabled" aria-label="Next">
<img src="{{ url_for('static', filename='images/icons/next.png') }}" alt="Next"> <img src="{{ url_for('static', filename='images/icons/next.png') }}" alt="">
</span> </span>
<span class="btn-icon-nav btn-icon-disabled" aria-label="Latest"> <span class="btn-icon-nav btn-icon-disabled" aria-label="Latest">
<img src="{{ url_for('static', filename='images/icons/latest.png') }}" alt="Latest"> <img src="{{ url_for('static', filename='images/icons/latest.png') }}" alt="">
</span> </span>
{% endif %} {% endif %}
{% else %} {% else %}