0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00

fix(web): add labels to memory lane buttons (#16664)

* fix(web): add labels to memory lane buttons

* use generic button labels
This commit is contained in:
Lukas 2025-03-10 03:31:55 +01:00 committed by GitHub
parent bdabea4030
commit 097749d872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,9 +50,11 @@
<button
type="button"
class="rounded-full border border-gray-500 bg-gray-100 p-2 text-gray-500 opacity-50 hover:opacity-100"
title={$t('previous')}
aria-label={$t('previous')}
onclick={scrollLeft}
>
<Icon path={mdiChevronLeft} size="36" /></button
<Icon path={mdiChevronLeft} size="36" ariaLabel={$t('previous')} /></button
>
</div>
{/if}
@ -61,9 +63,11 @@
<button
type="button"
class="rounded-full border border-gray-500 bg-gray-100 p-2 text-gray-500 opacity-50 hover:opacity-100"
title={$t('next')}
aria-label={$t('next')}
onclick={scrollRight}
>
<Icon path={mdiChevronRight} size="36" /></button
<Icon path={mdiChevronRight} size="36" ariaLabel={$t('next')} /></button
>
</div>
{/if}