accessbility — adding default aria-pressed

This commit is contained in:
Antoine M 2024-05-16 10:49:42 +02:00
parent 6be38b9367
commit 0f8608f7f3

View File

@ -133,7 +133,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
<!-- PUBLICATIONS TYPES FILTERS --> <!-- PUBLICATIONS TYPES FILTERS -->
<ul class="publication-type-filters-wrapper"> <ul class="publication-type-filters-wrapper">
<li> <li>
<button class="filters-toolbar__action-button filters-toolbar__action-button--active" data-term-id="all" data-publication-type="all"><?php echo __("Tous", "homegrade-theme_texte-fonctionnel") ?></button> <button class="filters-toolbar__action-button filters-toolbar__action-button--active" data-term-id="all" data-publication-type="all" aria-pressed="true"><?php echo __("Tous", "homegrade-theme_texte-fonctionnel") ?></button>
</li> </li>
<li> <li>
<button class="filters-toolbar__action-button" data-publication-type="brochures"> <button class="filters-toolbar__action-button" data-publication-type="brochures">