diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-26 12:05:57 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-26 12:05:57 -0500 |
commit | 9616aec563baff19898c5a3185bc2011734544cb (patch) | |
tree | 47af17c5419f6a3dd01d97aa4085d1a13ef01ad2 /templates/mirrors/status.html | |
parent | e35ad5dd8e3e776d39a13d1f6cd18c3fa4d49b27 (diff) |
Add empty 'alt' attribute for all country flag images
These are all used purely for decoration, and the country name itself is
right next to the flag image, so we can safely mark these as "invisible"
to screen readers, text browsers, etc.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r-- | templates/mirrors/status.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index c04aa204..8ee1d46e 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -88,7 +88,7 @@ {% spaceless %}<tr class="{% cycle 'odd' 'even' %}"> <td>{{ log.url__url }}</td> <td>{{ log.url__protocol__protocol }}</td> - <td class="country">{% if log.country %}<img src="{{ log.country.flag }}"/> {% endif %}{{ log.country.name }}</td> + <td class="country">{% if log.country %}<img src="{{ log.country.flag }}" alt=""/> {% endif %}{{ log.country.name }}</td> <td class="wrap">{{ log.error }}</td> <td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td> <td>{{ log.error_count }}</td> |