diff --git a/resources/js/taxonomy-thematique-(faq).js b/resources/js/taxonomy-thematique-(faq).js index 93380f5..01ab112 100644 --- a/resources/js/taxonomy-thematique-(faq).js +++ b/resources/js/taxonomy-thematique-(faq).js @@ -123,7 +123,14 @@ function updateActiveFiltersViewer() { activeFilters.forEach((activeFilterCheckbox) => { const button = document.createElement('button'); button.classList.add('filters-toolbar__action-button--active-filter-remover'); - button.innerText = activeFilterCheckbox.getAttribute('data-title'); + + const span = document.createElement('span'); + span.classList.add('sr-only'); + span.innerText = mainAppJsDynamicDatas.deleteFilter + ' :'; + button.appendChild(span); + + const buttonText = document.createTextNode(activeFilterCheckbox.getAttribute('data-title')); + button.appendChild(buttonText); button.setAttribute('value', activeFilterCheckbox.getAttribute('value')); activeFiltersContainer.appendChild(button);