Skip to content

Commit

Permalink
fix(chip-filter.component.html): Add aria text to signal when provide…
Browse files Browse the repository at this point in the history
…rs load after search is complete
  • Loading branch information
cbuttaro1 committed Dec 20, 2022
1 parent 37cb095 commit c1aabbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/modules/chip-filter/chip-filter.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@
(click)="onItemClick($event, item)"
class="multiselect-item-checkbox"
>
<div *ngIf="isLast">{{loadFilterList(filterItems)}}</div>
<div *ngIf="isLast">{{loadFilterList(filterItems)}}
<div *ngIf="focusItem == 2" aria-live="polite" style="overflow:hidden; height:0;width:0;">
{{filterItems.length}} providers found, use arrow keys to scroll through providers
</div>
</div>

<input
[type]="settings.singleSelection ? 'radio' : 'checkbox'"
[attr.aria-label]="getItemAriaLabel(item, isSelected(item))"
Expand Down

0 comments on commit c1aabbe

Please sign in to comment.