[ACA-2499] Document list - search results accessibility (#1212)

* accessibility

* fix focus outline
This commit is contained in:
Cilibiu Bogdan
2019-09-30 12:27:59 +03:00
committed by GitHub
parent e257ce01b0
commit f29c477ce8
2 changed files with 15 additions and 3 deletions

View File

@@ -1,8 +1,20 @@
<div class="line">
<span *ngIf="isFile" (click)="showPreview($event)" class="link">
<span
tabindex="0"
role="link"
*ngIf="isFile"
(click)="showPreview($event)"
class="link"
>
{{ name$ | async }}
</span>
<span *ngIf="!isFile" (click)="navigate($event)" class="bold link">
<span
tabindex="0"
role="link"
*ngIf="!isFile"
(click)="navigate($event)"
class="bold link"
>
{{ name$ | async }}
</span>
<span>{{ title$ | async }}</span>

View File

@@ -5,7 +5,7 @@
}
.line {
margin: 5px 0;
margin: 5px;
}
.bold {