Skip to content

Commit

Permalink
Merge pull request DSpace#3099 from Neki-IT/LoadingSearchResults
Browse files Browse the repository at this point in the history
Improving accessibility of the ds-loading component
  • Loading branch information
tdonohue committed Jun 14, 2024
2 parents 5040811 + e96d64a commit 4e93255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/shared/loading/loading.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div *ngIf="!spinner">
<label *ngIf="showMessage && message">{{ message }}</label>
<div class="loader">
<label *ngIf="showMessage && message" aria-live="polite">{{ message }}</label>
<div class="loader" aria-hidden="true">
<span class="l-1"></span>
<span class="l-2"></span>
<span class="l-3"></span>
Expand All @@ -13,6 +13,6 @@
<span class="l-10"></span>
</div>
</div>
<div *ngIf='spinner' class="spinner spinner-border" role="status">
<div *ngIf='spinner' class="spinner spinner-border" role="status" aria-live="polite">
<span class="sr-only">{{ message }}</span>
</div>

0 comments on commit 4e93255

Please sign in to comment.