mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fix issue with wrong aria-labels
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div *ngIf="(!context.notRepeatable) && index === (group.context.groups.length - 1)" class="clearfix pl-4 w-100">
|
||||
<div class="btn-group" role="group" aria-label="remove button">
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" role="button" class="ds-form-add-more btn btn-link"
|
||||
title="{{'form.add' | translate}}"
|
||||
[disabled]="isItemReadOnly(context, index)"
|
||||
@@ -36,7 +36,7 @@
|
||||
<!--Array with non repeatable items - Only discard button-->
|
||||
<div *ngIf="context.notRepeatable && context.showButtons && group.context.groups.length > 1"
|
||||
class="col-xs-2 d-flex flex-column justify-content-sm-start align-items-end">
|
||||
<div class="btn-group" role="button" aria-label="Remove button">
|
||||
<div class="btn-group" role="button">
|
||||
<button type="button" class="btn btn-secondary"
|
||||
title="{{'form.discard' | translate}}"
|
||||
(click)="removeItem($event, context, index)"
|
||||
|
Reference in New Issue
Block a user