Accessibility on unveil-page done with Tanaguru (except colors)

This commit is contained in:
Noah Lancien 2024-03-14 10:51:23 +01:00
parent 437c23b77d
commit 5bfc256b30
2 changed files with 14 additions and 5 deletions

View file

@ -19,6 +19,11 @@
.sites {
.embed-map {
min-height: 20rem;
iframe {
width: 100%;
height: 100%;
}
}
}

View file

@ -74,9 +74,11 @@
<div class="row align-items-center">
{{-- FIXME: Ajouter une image éditable dans ce minicrud --}}
<div class="col-12 col-lg-6 d-flex justify-content-center mb-3">
<img class="h-fit" src="{{ Vite::asset('resources/assets/images/logo.png') }}">
<img class="h-fit" src="{{ Vite::asset('resources/assets/images/logo.png') }}" alt="{{ __('CHANGEME') }}"
title="{{ __('CHANGEME') }}>
</div>
<div class="col-12 col-lg-6 mb-2 text-center">
<div class="col-12 col-lg-6
mb-2 text-center">
<h2 class="h2 fw-bold">{{ $localSection->h2_title }}</h2>
@if ($localSection->text)
<div class="ck-content">
@ -112,7 +114,7 @@
<div class="embed-map w-100 my-3">
<iframe class="rounded-3"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d10661.469000249905!2d-0.7577479264599797!3d48.083855231712434!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4809013bc7a7e43f%3A0xe01d7907f663610d!2sSNV%20Laval!5e0!3m2!1sfr!2sfr!4v1709025460315!5m2!1sfr!2sfr"
style="border:0;" width="100%" height="100%" allowfullscreen="" loading="lazy"
title="{{ __('Carte de nos sites') }}" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
@ -149,7 +151,8 @@
<div class="swiper-slide d-flex justify-content-center">
<button data-bs-target="#historical-milestone-carousel"
data-bs-slide-to="{{ $loop->index }}" type="button" aria-current="true"
aria-label="Slide {{ $loop->index + 1 }}" @class([
aria-label="{{ __('Année') }} {{ $historicalMilestoneModel->year }}"
@class([
'position-relative',
"tilde-{$colors[$loop->index % 4]} active" => $loop->first,
'tilde-white' => !$loop->first,
@ -167,7 +170,8 @@
<div class="carousel-indicators justify-content-between">
@foreach ($historicalMilestoneModels as $historicalMilestoneModel)
<button data-bs-target="#historical-milestone-carousel" data-bs-slide-to="{{ $loop->index }}"
type="button" aria-current="true" aria-label="Slide {{ $loop->index + 1 }}"
type="button" aria-current="true"
aria-label="{{ __('Année') }} {{ $historicalMilestoneModel->year }}"
@class([
'position-relative',
"tilde-{$colors[$loop->index % 4]} active" => $loop->first,