Misc accessibility fixes (#536)

This commit is contained in:
Joseph Milazzo 2021-08-30 13:14:05 -07:00 committed by GitHub
parent b712d8ed1a
commit de9941cc12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 16 deletions

View file

@ -4,10 +4,10 @@
<div class="col-4"><button class="btn btn-primary float-right" (click)="addLibrary()"><i class="fa fa-plus" aria-hidden="true"></i><span class="phone-hidden">&nbsp;Add Library</span></button></div>
</div>
<ul class="list-group" *ngIf="!createLibraryToggle; else createLibrary">
<li *ngFor="let library of libraries" class="list-group-item">
<li *ngFor="let library of libraries; let idx = index;" class="list-group-item">
<div>
<h4>
{{library.name | titlecase}}
<span id="library-name--{{idx}}">{{library.name | titlecase}}</span>
<div class="float-right">
<button class="btn btn-secondary mr-2 btn-sm" (click)="scanLibrary(library)" placement="top" ngbTooltip="Scan Library" attr.aria-label="Scan Library"><i class="fa fa-sync-alt" title="Scan"></i></button>
<button class="btn btn-danger mr-2 btn-sm" [disabled]="deletionInProgress" (click)="deleteLibrary(library)"><i class="fa fa-trash" placement="top" ngbTooltip="Delete Library" attr.aria-label="Delete {{library.name | titlecase}}"></i></button>