forked from Icycoide/searxng
[enh] simple: basic ARIA fixes
This commit is contained in:
parent
e1319fc21c
commit
a250ddadb9
10 changed files with 62 additions and 64 deletions
|
@ -56,11 +56,9 @@
|
|||
{%- endmacro -%}
|
||||
|
||||
{%- macro tab_header(name, id, label) -%}
|
||||
<input type="radio" name="{{ name }}" id="tab_{{ id }}"/>
|
||||
<label for="tab_{{ id }}" role="tab"
|
||||
aria-controls="panel{{ id }}">{{ label }}</label>
|
||||
<section id="tab-content{{ id }}" role="tabpanel"
|
||||
aria-labelledby="{{ label }}" aria-hidden="false">
|
||||
<input type="radio" name="{{ name }}" id="tab-{{ id }}"/>
|
||||
<label id="tab-label-{{ label }}" for="tab-{{ id }}" role="tab" aria-controls="tab-content-{{ id }}">{{ label }}</label>
|
||||
<section id="tab-content-{{ id }}" role="tabpanel" aria-labelledby="tab-label-{{ label }}" aria-hidden="false">
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro tab_footer() -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue