[CST-12044] removed aria hidden attribute

This commit is contained in:
Vlad Nouski
2024-02-15 17:32:46 +01:00
parent c596b6c7ec
commit 02baf86831

View File

@@ -11,8 +11,8 @@
[checked]="isPrimary" [checked]="isPrimary"
(change)="togglePrimaryBitstream($event)"> (change)="togglePrimaryBitstream($event)">
<label class="custom-control-label" for="primaryBitstream{{fileIndex}}"> <label class="custom-control-label" for="primaryBitstream{{fileIndex}}">
<span class="sr-only" aria-hidden="true" *ngIf="!isPrimary">{{'submission.sections.upload.primary.make' | translate:{ fileName: fileName } }}</span> <span class="sr-only" *ngIf="!isPrimary">{{'submission.sections.upload.primary.make' | translate:{ fileName: fileName } }}</span>
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">{{'submission.sections.upload.primary.remove' | translate:{ fileName: fileName } }}</span> <span class="sr-only" *ngIf="isPrimary">{{'submission.sections.upload.primary.remove' | translate:{ fileName: fileName } }}</span>
</label> </label>
</div> </div>
</div> </div>