Skip to content

Commit

Permalink
[ACS-9230] a11y testing: Search Page / Search Filters / Certain ARIA …
Browse files Browse the repository at this point in the history
…roles must contain particular children
  • Loading branch information
dominikiwanekhyland committed Feb 7, 2025
1 parent 6afe574 commit 508c12a
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<mat-chip-listbox role="listbox" [attr.aria-label]="'SEARCH.FILTER.ARIA-LABEL.SEARCH_FILTER' | translate">
<ng-container *ngFor="let category of categories">
<adf-search-widget-chip [category]="category" />
<adf-search-widget-chip [category]="category" role="option" />
</ng-container>

<ng-container *ngIf="showContextFacets && tabbedFacet">
<adf-search-facet-chip-tabbed
[tabbedFacet]="tabbedFacet"
[attr.data-automation-id]="facetChipTabbedId" />
[tabbedFacet]="tabbedFacet"
role="option"
[attr.data-automation-id]="facetChipTabbedId" />
</ng-container>

<ng-container *ngIf="showContextFacets && responseFacets">
<ng-container *ngFor="let field of responseFacets">
<adf-search-facet-chip [field]="field" [attr.data-automation-id]="'search-fact-chip-' + field.field" />
<adf-search-facet-chip [field]="field" role="option" [attr.data-automation-id]="'search-fact-chip-' + field.field" />
</ng-container>
</ng-container>

Expand Down

0 comments on commit 508c12a

Please sign in to comment.