Skip to content

Commit

Permalink
Melhorando acessibilidade do componente ds-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 4, 2024
1 parent b0a8a50 commit e96d64a
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 e96d64a

Please sign in to comment.