summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences/infinite_scroll.html
diff options
context:
space:
mode:
authorMarkus <markus@venom.fritz.box>2024-09-15 17:08:57 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-09-21 15:23:21 +0200
commit8b8d830fd367386c5f06ae5a427028dc12642cd1 (patch)
treefea6920444007a4835e8cd8214f8af45ff58e09a /searx/templates/simple/preferences/infinite_scroll.html
parent67fcf3cc67c842aebd512922a751d0ebe1bb9264 (diff)
[fix] simple template: add ID to elements used for aria-labelledby
The ``aria-labelledby`` [1] attribute identifies the element that labels the element it is applied to. The templates ``infinite_scroll.html`` and ``search_on_category_select.html`` define a ``aria-labelledby`` at the <input> tag but miss the id in the <div> with the description. [1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby Signed-off-by: Markus <markus@venom.fritz.box>
Diffstat (limited to 'searx/templates/simple/preferences/infinite_scroll.html')
-rw-r--r--searx/templates/simple/preferences/infinite_scroll.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/preferences/infinite_scroll.html b/searx/templates/simple/preferences/infinite_scroll.html
index cda8008c9..4ed34e438 100644
--- a/searx/templates/simple/preferences/infinite_scroll.html
+++ b/searx/templates/simple/preferences/infinite_scroll.html
@@ -10,7 +10,7 @@
{%- endif -%}{{- ' ' -}}
>{{- '' -}}
</p>{{- '' -}}
- <div class="description">
+ <div class="description" id="pref_infinite_scroll">
{{- _('Automatically load next page when scrolling to bottom of current page') -}}
</div>{{- '' -}}
</fieldset>{{- '' -}}