Started working on acessibility

Sidebar is now navigable with keyboard using tab
In reference to #40
This commit is contained in:
RemixDev 2020-09-23 16:23:42 +02:00
parent 3fd924eebc
commit 760ce913b6
4 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,9 +3,8 @@
<router-link
v-for="link in links"
:key="link.id"
tag="span"
tag="a"
class="main_tablinks"
role="link"
:id="link.id"
:class="{ active: activeTablink === link.name }"
:aria-label="link.ariaLabel"

View File

@ -20,6 +20,8 @@ $sidebar-delay: 75ms;
.main_tablinks {
transition: all 500ms;
text-decoration: none;
color: inherit;
&.active {
background-color: var(--accent-color);