accessibilité 2
This commit is contained in:
parent
70cb6af298
commit
5e85c76646
@ -1,9 +1,9 @@
|
|||||||
<div class="formulaire_spip formulaire_recherche[ (#ENV{class})]">
|
<div class="formulaire_spip formulaire_recherche[ (#ENV{class})]">
|
||||||
<form action="[(#ENV{action})]" method="get" role="search" aria-label="site">
|
<form action="[(#ENV{action})]" method="get" role="search" aria-label="[(#ENV{class}|sinon{recherche})]">
|
||||||
[(#ENV{action}|form_hidden)]
|
[(#ENV{action}|form_hidden)]
|
||||||
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
|
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
|
||||||
<label for="#ENV{_id_champ}"><:info_rechercher_02:/></label>
|
<label for="recherche#ENV{_id_champ}"><:info_rechercher_02:/></label>
|
||||||
<input type="[(#HTML5|?{search,text})]" class="search text" size="10" name="recherche" placeholder="<:baz_april:rechercher_transcriptions:/>"[ value="(#ENV{recherche})"] accesskey="4" autocapitalize="off" autocorrect="off"/>
|
<input type="[(#HTML5|?{search,text})]" class="search text" size="10" name="recherche" placeholder="<:baz_april:rechercher_transcriptions:/>"[ value="(#ENV{recherche})"] accesskey="4" autocapitalize="off" autocorrect="off" id="recherche#ENV{_id_champ}" />
|
||||||
<button type="submit" class="submit"><:info_rechercher:/></button>
|
<button type="submit" class="submit"><:info_rechercher:/></button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -38,6 +38,6 @@ function formulaires_recherche_charger_dist($lien = '', $class = '') {
|
|||||||
'recherche' => _request('recherche'),
|
'recherche' => _request('recherche'),
|
||||||
'lang' => $lang,
|
'lang' => $lang,
|
||||||
'class' => $class,
|
'class' => $class,
|
||||||
'_id_champ' => $class ? substr(md5($action . $class), 0, 4) : 'recherche',
|
'_id_champ' => $class ? substr(md5($action . $class), 0, 4) : '',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#INCLURE{fond=inclure/menu, env, identifiant=pied5}
|
#INCLURE{fond=inclure/menu, env, identifiant=pied5}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
#FORMULAIRE_RECHERCHE
|
#FORMULAIRE_RECHERCHE{'',recherche_footer}
|
||||||
|
|
||||||
<div class="colophon">
|
<div class="colophon">
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<B_articles>
|
<B_articles>
|
||||||
<div class="liste_articles">
|
<div class="liste_articles">[(#ENV{nb}|=={#ENV{parpage}}|oui)[(#ANCRE_PAGINATION|vide)]]
|
||||||
#ANCRE_PAGINATION
|
[(#ENV{nb}|=={#ENV{parpage}}|non)#ANCRE_PAGINATION]
|
||||||
[<h2 class="h2">(#ENV{titre})</h2>]
|
[<h2 class="h2">(#ENV{titre})</h2>]
|
||||||
<div>
|
<div>
|
||||||
<BOUCLE_articles(ARTICLES){id_rubrique!=-1}{id_rubrique?}{id_secteur?}{id_mot?}{lang}{tri_rubrique}{!par date}{0,#ENV{nb,1001}}{pagination #ENV{parpage,10}}>
|
<BOUCLE_articles(ARTICLES){id_rubrique!=-1}{id_rubrique?}{id_secteur?}{id_mot?}{lang}{tri_rubrique}{!par date}{0,#ENV{nb,1001}}{pagination #ENV{parpage,10}}>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<li class="nav-item[ (#EXPOSE)][ (#COMPTEUR_BOUCLE|=={1}|oui)first]"><a href="#URL_RUBRIQUE" class="[ (#EXPOSE)]">#TITRE</a></li>
|
<li class="nav-item[ (#EXPOSE)][ (#COMPTEUR_BOUCLE|=={1}|oui)first]"><a href="#URL_RUBRIQUE" class="[ (#EXPOSE)]">#TITRE</a></li>
|
||||||
</BOUCLE_nav>
|
</BOUCLE_nav>
|
||||||
<li class="nav-item loupe last"><a href="#URL_PAGE{recherche}"><span>rechercher</span><i class="fas fa-search"></i></a>
|
<li class="nav-item loupe last"><a href="#URL_PAGE{recherche}"><span>rechercher</span><i class="fas fa-search"></i></a>
|
||||||
#FORMULAIRE_RECHERCHE
|
#FORMULAIRE_RECHERCHE{'',recherche_nav}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<BOUCLE_articles(ARTICLES) {id_article}>
|
<BOUCLE_articles(ARTICLES) {id_article}>
|
||||||
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui) hero]">
|
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui) hero]">
|
||||||
<div class="article-resume__logo">[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)<a href="#URL_ARTICLE">]
|
<div class="article-resume__logo">[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)<a href="#URL_ARTICLE" title="#TITRE">]
|
||||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)
|
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)
|
||||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|adaptive_images{#CONST{_CONTENT_WIDTH}|div{3}} )]
|
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|adaptive_images{#CONST{_CONTENT_WIDTH}|div{3}})]
|
||||||
][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|non)
|
][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|non)
|
||||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{140} )]
|
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{140})]
|
||||||
]
|
]
|
||||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)</a>]</div>
|
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)</a>]</div>
|
||||||
<div class="article-resume__texte">
|
<div class="article-resume__texte">
|
||||||
|
@ -71,6 +71,10 @@
|
|||||||
.socicon {
|
.socicon {
|
||||||
background:transparent;
|
background:transparent;
|
||||||
}
|
}
|
||||||
|
.name {
|
||||||
|
display:inline;
|
||||||
|
@include visuallyhidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.colophon {
|
.colophon {
|
||||||
|
Loading…
Reference in New Issue
Block a user