[ACS-3551] a11y fix for search results view (#7881)

* [ACS-3551] a11y fix for search results view

* PR Comments fix
This commit is contained in:
arohilaGL
2022-10-21 15:04:44 +05:30
committed by GitHub
parent 47d95fc7c3
commit c84792a6e9
2 changed files with 4 additions and 1 deletions

View File

@@ -270,6 +270,9 @@
"BEYOND-MAX-DATE": "The date is beyond the maximum date.",
"INVALID-DATETIME": "Invalid datetime. The datetime must be in the format '{{ requiredFormat }}'",
"BEYOND-MAX-DATETIME": "The datetime is beyond the maximum datetime."
},
"ARIA-LABEL": {
"SEARCH_FILTER": "Search Filter List"
}
},
"ICONS": {

View File

@@ -1,4 +1,4 @@
<mat-chip-list aria-orientation="horizontal" role="listbox">
<mat-chip-list aria-orientation="horizontal" role="listbox" [attr.aria-label]="'SEARCH.FILTER.ARIA-LABEL.SEARCH_FILTER' | translate">
<ng-container *ngFor="let category of queryBuilder.categories">
<adf-search-widget-chip [category]="category"></adf-search-widget-chip>
</ng-container>