Started working on acessibility
Sidebar is now navigable with keyboard using tab In reference to #40
This commit is contained in:
parent
3fd924eebc
commit
760ce913b6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,9 +3,8 @@
|
|||||||
<router-link
|
<router-link
|
||||||
v-for="link in links"
|
v-for="link in links"
|
||||||
:key="link.id"
|
:key="link.id"
|
||||||
tag="span"
|
tag="a"
|
||||||
class="main_tablinks"
|
class="main_tablinks"
|
||||||
role="link"
|
|
||||||
:id="link.id"
|
:id="link.id"
|
||||||
:class="{ active: activeTablink === link.name }"
|
:class="{ active: activeTablink === link.name }"
|
||||||
:aria-label="link.ariaLabel"
|
:aria-label="link.ariaLabel"
|
||||||
|
@ -20,6 +20,8 @@ $sidebar-delay: 75ms;
|
|||||||
|
|
||||||
.main_tablinks {
|
.main_tablinks {
|
||||||
transition: all 500ms;
|
transition: all 500ms;
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: var(--accent-color);
|
background-color: var(--accent-color);
|
||||||
|
Loading…
Reference in New Issue
Block a user