mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	 8b8d830fd3
			
		
	
	
		8b8d830fd3
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <fieldset>{{- '' -}}
 | |
|   <legend>{{ _('Infinite scroll') }}</legend>{{- '' -}}
 | |
|   <p class="value">{{- '' -}}
 | |
|     <input type="checkbox" {{- ' ' -}}
 | |
|            name="infinite_scroll" {{- ' ' -}}
 | |
|            aria-labelledby="pref_infinite_scroll" {{- ' ' -}}
 | |
|            class="checkbox-onoff" {{- ' ' -}}
 | |
|            {%- if preferences.get_value('infinite_scroll') -%}
 | |
|              checked
 | |
|            {%- endif -%}{{- ' ' -}}
 | |
|            >{{- '' -}}
 | |
|   </p>{{- '' -}}
 | |
|   <div class="description" id="pref_infinite_scroll">
 | |
|     {{- _('Automatically load next page when scrolling to bottom of current page') -}}
 | |
|   </div>{{- '' -}}
 | |
| </fieldset>{{- '' -}}
 |