mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fixed accessibility tests on filters
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<a *ngIf="isVisible | async" class="d-flex flex-row"
|
||||
[tabIndex]="-1"
|
||||
[routerLink]="[searchLink]"
|
||||
[queryParams]="addQueryParams" queryParamsHandling="merge"
|
||||
(click)="announceFilter()" role="button" tabindex="0">
|
||||
(click)="announceFilter()">
|
||||
<label class="mb-0 d-flex w-100">
|
||||
<input type="checkbox" [checked]="false" class="my-1 align-self-stretch filter-checkbox" role="checkbox" tabindex="0"/>
|
||||
<span class="w-100 pl-1 break-facet">
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<a *ngIf="isVisible | async" class="d-flex flex-row"
|
||||
[tabIndex]="-1"
|
||||
[routerLink]="[searchLink]"
|
||||
[queryParams]="changeQueryParams" queryParamsHandling="merge" role="button" tabindex="0">
|
||||
[queryParams]="changeQueryParams" queryParamsHandling="merge">
|
||||
<span class="filter-value px-1">{{filterValue.label}}</span>
|
||||
<span class="float-right filter-value-count ml-auto">
|
||||
<span class="badge badge-secondary badge-pill">{{filterValue.count | dsShortNumber}}</span>
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<a class="d-flex flex-row"
|
||||
[tabIndex]="-1"
|
||||
[routerLink]="[searchLink]"
|
||||
[queryParams]="removeQueryParams" queryParamsHandling="merge" role="link" tabindex="0">
|
||||
[queryParams]="removeQueryParams" queryParamsHandling="merge">
|
||||
<label class="mb-0 d-flex w-100">
|
||||
<input type="checkbox" [checked]="true" class="my-1 align-self-stretch filter-checkbox" role="checkbox" tabindex="0"/>
|
||||
<span class="filter-value pl-1 break-facet">
|
||||
|
Reference in New Issue
Block a user