Add titles and aria-labels for icon only buttons so that they can be detected by screen readers
Fixes: https://tracker.ceph.com/issues/56018
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit
5458e1a020fb5d0fe3ae77155c79cd53783a1c8a)
<div class="input-group-append">
<button class="btn btn-light"
id="editSiteName"
- (click)="updateSiteName()">
+ (click)="updateSiteName()"
+ [attr.title]="editing ? 'Save' : 'Edit'">
<i [ngClass]="icons.edit"
*ngIf="!editing"></i>
<i [ngClass]="icons.check"
<div class="input-group-append">
<button type="button"
class="btn btn-light"
- (click)="clearSearchKey()">
+ (click)="clearSearchKey()"
+ title="Clear">
<i class="icon-prepend {{ icons.destroy }}"></i>
</button>
</div>
<span class="input-group-append">
<button type="button"
class="btn btn-light"
- (click)="clearDate()">
+ (click)="clearDate()"
+ title="Clear">
<i class="icon-prepend {{ icons.destroy }}"></i>
</button>
</span>