Elements
Modal
1 variantA dialog over the page; on the site it announces the next event when the page opens. It closes with the cross, Escape or a click outside, and keeps keyboard focus inside while open.
<div class="kit-center">
<button class="btn btn--primary" type="button" data-action="open-popup">Open the pop-up<span class="icon icon--arrow" aria-hidden="true"></span></button>
</div>
<dialog class="event-popup" data-manual tabindex="-1" aria-labelledby="event-popup-title">
<div class="event-popup__media">
<img src="assets/img/news-atelier-parents.jpg" alt="" />
<p class="event-popup__badge">Événement à venir</p>
<button class="event-popup__close" type="button" data-action="close-popup">
<span class="visually-hidden">Fermer</span>
</button>
</div>
<p class="event-popup__date">
<time datetime="2026-09-24">
<span class="event-popup__date-day">24</span>
<span class="event-popup__date-rest">SEP <span>2026</span></span>
</time>
</p>
<div class="event-popup__body">
<h2 class="event-popup__title" id="event-popup-title">
Atelier parents : accompagner l’apprentissage
</h2>
<p class="event-popup__text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.
</p>
<a class="link-arrow event-popup__link" href="#">
Lire la suite
<span class="icon icon--arrow" aria-hidden="true"></span>
</a>
</div>
</dialog>
Specs
| Classes | .event-popup |
|---|---|
| Design tokens | --c-teal --r-card --c-surface --c-ink --dur-slow --ease-out --dur-base |
| Used in | Home |