toodego: a11y, use <h3> for place subtitles (#34674)
This commit is contained in:
parent
89705cb711
commit
7e9072d4c5
|
@ -242,7 +242,7 @@ body.page-connect {
|
|||
|
||||
div.horaires {
|
||||
background: url(img/horaires.png) top left no-repeat;
|
||||
h5 {
|
||||
h3 {
|
||||
display: inline-block;
|
||||
width: 7rem;
|
||||
}
|
||||
|
@ -263,7 +263,7 @@ body.page-connect {
|
|||
@extend a.pk-button;
|
||||
}
|
||||
|
||||
h5 {
|
||||
h3 {
|
||||
font-size: 120%;
|
||||
font-weight: 500;
|
||||
margin-top: 0;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{% if bibliotheque.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{bibliotheque.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{bibliotheque.properties.telephone}}">Appeler</a>
|
||||
</div>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{% include "combo/json/includes/share.html" with place=decheterie url=cell|place_page_url %}
|
||||
{% placeholder "infos-pratiques" %}
|
||||
|
||||
<h5>Déchets acceptés</h5>
|
||||
<h3>Déchets acceptés</h3>
|
||||
|
||||
<ul class="allowed-waste">
|
||||
{% for waste in decheterie.properties.allowed_waste %}
|
||||
|
@ -32,7 +32,7 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h5>Véhicules autorisés</h5>
|
||||
<h3>Véhicules autorisés</h3>
|
||||
<table class="allowed-vehicles">
|
||||
<thead>
|
||||
<tr><th>Type de véhicule</th><th>Coût</th><th>Passages par mois</th></tr>
|
||||
|
@ -56,7 +56,7 @@
|
|||
|
||||
{% if decheterie.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{decheterie.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{decheterie.properties.telephone}}">Appeler</a>
|
||||
</div>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
{% if donnerie.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{donnerie.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{donnerie.properties.telephone}}">Appeler</a>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load l10n %}
|
||||
{% if place.properties.address %}
|
||||
<div class="adresse">
|
||||
<h5>Adresse</h5>
|
||||
<h3>Adresse</h3>
|
||||
<div>
|
||||
{{place.properties.address.streetAddress}}<br>
|
||||
{{place.properties.address.postalCode}} {{place.properties.address.addressLocality}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load gnm %}
|
||||
{% get_mairie_opening_hours place as opening_hours %}
|
||||
<div class="horaires">
|
||||
<h5>Horaires</h5>
|
||||
<h3>Horaires</h3>
|
||||
{% if opening_hours %}
|
||||
{{place|as_opening_hours_badge}}
|
||||
<table class="horaires">
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
{% if mairie.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{mairie.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{mairie.properties.telephone}}">Appeler</a>
|
||||
</div>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
<div class="place-data">
|
||||
<div class="adresse">
|
||||
<h5>Adresse</h5>
|
||||
<h3>Adresse</h3>
|
||||
<div>
|
||||
{% if mdr.properties.adresse_complement %}{{mdr.properties.adresse_complement}}<br>{% endif %}
|
||||
{{mdr.properties.adresse}}<br>
|
||||
|
@ -38,13 +38,13 @@
|
|||
</div> <!-- adresse -->
|
||||
{% if mdr.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{mdr.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{mdr.properties.telephone}}">Appeler</a>
|
||||
</div> <!-- phone -->
|
||||
{% endif %}
|
||||
<div class="horaires">
|
||||
<h5>Horaires</h5>
|
||||
<h3>Horaires</h3>
|
||||
{{mdr.properties|as_opening_hours_badge}}
|
||||
<table class="horaires">
|
||||
<tr><th>lundi</th><td>{{mdr.properties.lundi_am}}</td><td>{{mdr.properties.lundi_pm}}</td></tr>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="place-data">
|
||||
<div class="adresse">
|
||||
<h5>Adresse</h5>
|
||||
<h3>Adresse</h3>
|
||||
<div>
|
||||
{% if parc_velo.properties.adresse_complement %}{{parc_velo.properties.adresse_complement}}<br>{% endif %}
|
||||
{{parc_velo.properties.adresse}}<br>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<div class="place-data">
|
||||
<div class="adresse">
|
||||
<h5>Adresse</h5>
|
||||
<h3>Adresse</h3>
|
||||
{% localize off %}
|
||||
<a class="action-goto" data-lat="{{parking.geometry.coordinates.1}}" data-lng="{{parking.geometry.coordinates.0}}" href="/m-y-rendre/?to={{cell.id}}">M'y rendre</a>
|
||||
{% endlocalize %}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{% if piscine.properties.telephone %}
|
||||
<div class="phone">
|
||||
<h5>Téléphone</h5>
|
||||
<h3>Téléphone</h3>
|
||||
<div>{{piscine.properties.telephone}}</div>
|
||||
<a class="action-call" href="tel:{{piscine.properties.telephone}}">Appeler</a>
|
||||
</div> <!-- phone -->
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="place-data">
|
||||
<div class="adresse">
|
||||
<h5>Adresse</h5>
|
||||
<h3>Adresse</h3>
|
||||
<div>
|
||||
{% if pmr.properties.adresse_complement %}{{pmr.properties.adresse_complement}}<br>{% endif %}
|
||||
{{pmr.properties.adresse}}<br>
|
||||
|
|
Loading…
Reference in New Issue