From b51d4ec041c59001f8365904d799b5188ec60c3c Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 28 Jun 2020 20:40:48 +0200 Subject: [fix] add aria labels to result links - #350 --- searx/templates/oscar/result_templates/videos.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'searx/templates/oscar/result_templates/videos.html') diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 6d9101d2e..bf02a553a 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -1,10 +1,10 @@ {% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %} -{{ result_header(result, favicons) }} -{{ result_sub_header(result) }} +{{ result_header(result, favicons, loop.index) }} +{{ result_sub_header(result, loop.index) }} {% if result.embedded %} - + {% endif %} {% if result.embedded %} @@ -15,7 +15,7 @@
- + {% if result.author %}

{{ _('Author') }}: {{ result.author }}

{% endif %} {% if result.length %}

{{ _('Length') }}: {{ result.length }}

{% endif %} {% if result.content %}

{{ result.content|safe }}

{% endif %} @@ -23,7 +23,7 @@
{% if rtl %} -{{ result_footer_rtl(result) }} +{{ result_footer_rtl(result, loop.index) }} {% else %} -{{ result_footer(result) }} +{{ result_footer(result, loop.index) }} {% endif %} -- cgit v1.2.3