瀏覽代碼

Alt on favicon

Cqoicebordel 10 年之前
父節點
當前提交
3e05570b32
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      searx/templates/default/result_templates/map.html

+ 1
- 1
searx/templates/default/result_templates/map.html 查看文件

1
 <div class="result {{ result.class }}">
1
 <div class="result {{ result.class }}">
2
 
2
 
3
   {% if result['favicon'] %}
3
   {% if result['favicon'] %}
4
-    <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" />
4
+    <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />
5
   {% endif %}
5
   {% endif %}
6
 
6
 
7
   <div>
7
   <div>