aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorpacien2020-02-08 18:09:36 +0100
committerpacien2020-02-08 18:09:36 +0100
commitb8160585c4ea0037772c6a35c45b58d48621cd4d (patch)
tree691097cb31effbcb3a2cb32091f336fa54b72167 /viewer
parent32abf4e1f82dcb9738bbfc41a84bb38672e14603 (diff)
downloadldgallery-b8160585c4ea0037772c6a35c45b58d48621cd4d.tar.gz
viewer: ldcommand: fix keyboard navigation
By using proper semantics, using 'a' instead of 'div' to allow keyboard selection
Diffstat (limited to 'viewer')
-rw-r--r--viewer/src/components/LdCommand.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 8c6ccfc..841d773 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -19,15 +19,15 @@
19 19
20<template> 20<template>
21 <div class="flex command-btns"> 21 <div class="flex command-btns">
22 <div class="link" :title="$t('title.tags')" @click="$uiStore.toggleFullWidth()"> 22 <a class="link" :title="$t('title.tags')" @click="$uiStore.toggleFullWidth()">
23 <fa-icon :icon="commandTagsIcon()" size="lg" /> 23 <fa-icon :icon="commandTagsIcon()" size="lg" />
24 </div> 24 </a>
25 <router-link to="/" :class="{'disabled': isRoot()}" :title="$t('title.home')"> 25 <router-link to="/" :class="{'disabled': isRoot()}" :title="$t('title.home')">
26 <fa-icon icon="home" size="lg" /> 26 <fa-icon icon="home" size="lg" />
27 </router-link> 27 </router-link>
28 <div class="link" :title="$t('title.back')" @click="$router.go(-1)"> 28 <a class="link" :title="$t('title.back')" @click="$router.go(-1)">
29 <fa-icon icon="arrow-left" size="lg" /> 29 <fa-icon icon="arrow-left" size="lg" />
30 </div> 30 </a>
31 <router-link :class="{'disabled': isRoot()}" :title="$t('title.parent')" :to="parent()"> 31 <router-link :class="{'disabled': isRoot()}" :title="$t('title.parent')" :to="parent()">
32 <fa-icon icon="folder" size="xs" /> 32 <fa-icon icon="folder" size="xs" />
33 <fa-icon icon="level-up-alt" size="lg" /> 33 <fa-icon icon="level-up-alt" size="lg" />