diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-08 14:34:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-11 10:58:48 +0200 |
commit | e78980ebd116be1ea901387c126876af902191e6 (patch) | |
tree | ea037d021e1383501e2b79add1a9581ef80a7c99 /client/src/app/search | |
parent | ecf06378ff95ec35f75de0169a02a974d2c17c62 (diff) | |
download | PeerTube-e78980ebd116be1ea901387c126876af902191e6.tar.gz PeerTube-e78980ebd116be1ea901387c126876af902191e6.tar.zst PeerTube-e78980ebd116be1ea901387c126876af902191e6.zip |
use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
Diffstat (limited to 'client/src/app/search')
-rw-r--r-- | client/src/app/search/search.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/search/search.component.html b/client/src/app/search/search.component.html index a258d4edd..c4072b291 100644 --- a/client/src/app/search/search.component.html +++ b/client/src/app/search/search.component.html | |||
@@ -48,9 +48,9 @@ | |||
48 | <my-video-thumbnail [video]="result"></my-video-thumbnail> | 48 | <my-video-thumbnail [video]="result"></my-video-thumbnail> |
49 | 49 | ||
50 | <div class="video-info"> | 50 | <div class="video-info"> |
51 | <a class="video-info-name" [routerLink]="['/videos/watch', result.uuid]" [attr.title]="result.name">{{ result.name }}</a> | 51 | <a tabindex="-1" class="video-info-name" [routerLink]="['/videos/watch', result.uuid]" [attr.title]="result.name">{{ result.name }}</a> |
52 | <span i18n class="video-info-date-views">{{ result.publishedAt | myFromNow }} - {{ result.views | myNumberFormatter }} views</span> | 52 | <span i18n class="video-info-date-views">{{ result.publishedAt | myFromNow }} - {{ result.views | myNumberFormatter }} views</span> |
53 | <a class="video-info-account" [routerLink]="[ '/accounts', result.byAccount ]">{{ result.byAccount }}</a> | 53 | <a tabindex="-1" class="video-info-account" [routerLink]="[ '/accounts', result.byAccount ]">{{ result.byAccount }}</a> |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | </ng-container> | 56 | </ng-container> |