From b27659d958226f3a2aeed1a637c18054261e2950 Mon Sep 17 00:00:00 2001 From: Andrea-Guevara <101608067+Andrea-Guevara@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:52:13 -0300 Subject: [PATCH] Accessibility when selecting a search filter (#3385) * Creation of a new method so that when a filter is selected a page reload message is announced to the user * Correcting import formatting errors * New attempt - Correcting import formatting errors * New import fix * New import fix * Returning to the order of imports more like the original * Correcting import order errors * Resolving conflicts * lint fixes * Code refactoring --------- Co-authored-by: root Co-authored-by: nwoodward --- .../search-facet-option.component.html | 2 +- .../search-facet-option.component.ts | 15 ++++++++++++++- src/assets/i18n/en.json5 | 2 ++ src/assets/i18n/es.json5 | 5 +++-- src/assets/i18n/pt-BR.json5 | 3 +++ 5 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.html b/src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.html index f0e6120725..dfd68d026a 100644 --- a/src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.html +++ b/src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.html @@ -2,7 +2,7 @@ [tabIndex]="-1" [routerLink]="[searchLink]" [queryParams]="addQueryParams$ | async" - (click)="filterService.minimizeAll()"> + (click)="announceFilter(); filterService.minimizeAll()">