Browse Source

accessibilité 2

master
chankalan 12 months ago
parent
commit
5e85c76646
  1. 6
      formulaires/recherche.html
  2. 2
      formulaires/recherche.php
  3. 2
      squelettes/footer/dist.html
  4. 4
      squelettes/inclure/liste/articles-resume.html
  5. 2
      squelettes/inclure/nav-secteurs.html
  6. 6
      squelettes/inclure/resume/article.html
  7. 4
      squelettes/scss/blocs/_footer.scss

6
formulaires/recherche.html

@ -1,9 +1,9 @@
<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)]
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
<label for="#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"/>
<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" id="recherche#ENV{_id_champ}" />
<button type="submit" class="submit"><:info_rechercher:/></button>
</form>
</div>

2
formulaires/recherche.php

@ -38,6 +38,6 @@ function formulaires_recherche_charger_dist($lien = '', $class = '') {
'recherche' => _request('recherche'),
'lang' => $lang,
'class' => $class,
'_id_champ' => $class ? substr(md5($action . $class), 0, 4) : 'recherche',
'_id_champ' => $class ? substr(md5($action . $class), 0, 4) : '',
);
}

2
squelettes/footer/dist.html

@ -7,7 +7,7 @@
#INCLURE{fond=inclure/menu, env, identifiant=pied5}
</div>
#FORMULAIRE_RECHERCHE
#FORMULAIRE_RECHERCHE{'',recherche_footer}
<div class="colophon">

4
squelettes/inclure/liste/articles-resume.html

@ -1,6 +1,6 @@
<B_articles>
<div class="liste_articles">
#ANCRE_PAGINATION
<div class="liste_articles">[(#ENV{nb}|=={#ENV{parpage}}|oui)[(#ANCRE_PAGINATION|vide)]]
[(#ENV{nb}|=={#ENV{parpage}}|non)#ANCRE_PAGINATION]
[<h2 class="h2">(#ENV{titre})</h2>]
<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}}>

2
squelettes/inclure/nav-secteurs.html

@ -5,7 +5,7 @@
<li class="nav-item[ (#EXPOSE)][ (#COMPTEUR_BOUCLE|=={1}|oui)first]"><a href="#URL_RUBRIQUE" class="[ (#EXPOSE)]">#TITRE</a></li>
</BOUCLE_nav>
<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>
</ul>
</nav>

6
squelettes/inclure/resume/article.html

@ -1,10 +1,10 @@
<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]">
<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)
[(#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)
[(#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>
<div class="article-resume__texte">

4
squelettes/scss/blocs/_footer.scss

@ -71,6 +71,10 @@
.socicon {
background:transparent;
}
.name {
display:inline;
@include visuallyhidden;
}
}
}
.colophon {

Loading…
Cancel
Save