summaryrefslogtreecommitdiffstats
path: root/templates/mirrors/mirror_details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-26 19:05:57 +0200
committerDan McGee <dan@archlinux.org>2012-04-26 19:05:57 +0200
commit9616aec563baff19898c5a3185bc2011734544cb (patch)
tree47af17c5419f6a3dd01d97aa4085d1a13ef01ad2 /templates/mirrors/mirror_details.html
parente35ad5dd8e3e776d39a13d1f6cd18c3fa4d49b27 (diff)
downloadarchweb-9616aec563baff19898c5a3185bc2011734544cb.tar.gz
archweb-9616aec563baff19898c5a3185bc2011734544cb.tar.xz
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/mirror_details.html')
-rw-r--r--templates/mirrors/mirror_details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 3218cdc..edeab5d 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -21,7 +21,7 @@
</tr>
<tr>
<th>Country:</th>
- <td>{% if mirror.country %}<img src="{{ mirror.country.flag }}"/> {% endif %}{{ mirror.country.name|default:'Worldwide' }}</td>
+ <td>{% if mirror.country %}<img src="{{ mirror.country.flag }}" alt=""/> {% endif %}{{ mirror.country.name|default:'Worldwide' }}</td>
</tr>
<tr>
<th>Has ISOs:</th>