Added tabindex for items in Home tab, still not clickable with enter

This commit is contained in:
RemixDev 2020-09-23 17:40:38 +02:00
parent 0ff20aa594
commit 70813bdefc
4 changed files with 10 additions and 2 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

@ -19,6 +19,7 @@
class="release clickable"
@click="playlistView"
:data-id="release.id"
tabindex="0"
>
<div class="cover_container">
<img aria-hidden="true" class="rounded coverart" :src="release.picture_medium" />
@ -28,6 +29,7 @@
@click.stop="addToQueue"
:data-link="release.link"
class="download_overlay"
tabindex="0"
>
<i class="material-icons" :title="$t('globals.download_hint')">get_app</i>
</div>
@ -54,6 +56,7 @@
class="release clickable"
@click="albumView"
:data-id="release.id"
tabindex="0"
>
<div class="cover_container">
<img aria-hidden="true" class="rounded coverart" :src="release.cover_medium" />
@ -63,6 +66,7 @@
@click.stop="addToQueue"
:data-link="release.link"
class="download_overlay"
tabindex="0"
>
<i class="material-icons" :title="$t('globals.download_hint')">get_app</i>
</div>

View File

@ -303,6 +303,10 @@ a {
padding: 10px;
cursor: pointer;
}
&:focus {
opacity: 1;
}
}
&:hover {