Skip to content

Commit

Permalink
Add accessible button names for ORCID queue action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
doana committed May 16, 2023
1 parent b93e0bf commit bd1881f
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -34,11 +34,13 @@ <h2>{{ 'person.orcid.registry.queue' | translate }}</h2>
<div class="btn-group edit-field">
<button [ngbTooltip]="getOperationTooltip(entry) | translate" container="body"
class="btn btn-outline-primary my-1 col-md" (click)="send(entry)">
<i [ngClass]="getOperationClass(entry)"></i>
<span [ngClass]="getOperationClass(entry)"></span>
<span class="sr-only">{{ getOperationTooltip(entry) | translate }}</span>
</button>
<button [ngbTooltip]="'person.page.orcid.sync-queue.discard' | translate" container="body"
class="btn btn-outline-danger my-1 col-md" (click)="discardEntry(entry)">
<i class="fas fa-unlink"></i>
<span class="fas fa-unlink"></span>
<span class="sr-only">{{ 'person.page.orcid.sync-queue.discard' | translate }}</span>
</button>
</div>
</td>
Expand Down

0 comments on commit bd1881f

Please sign in to comment.