Skip to content

Commit

Permalink
♿ Fix: small fix to accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kwchang0831 committed Mar 5, 2024
1 parent 3139843 commit ff77517
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/components/tags_root.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
{#if $tagsAll.length}
<div
role="button"
aria-label="tagMenuScroll"
tabindex="0"
in:fly|global={{ x: 100, duration: 300, delay: 300 }}
out:fly|global={{ x: 100, duration: 300 }}
Expand All @@ -162,6 +163,7 @@
class={className ?? ''}>
<div
role="button"
aria-label="tagCategoryToggle"
tabindex="0"
class="select-none flex justify-between items-center border-b-2 border-black dark:border-white cursor-pointer"
on:click={toggle}
Expand Down Expand Up @@ -206,6 +208,7 @@
</form>
<div
role="button"
aria-label="tagMenuScrollUp"
tabindex="0"
on:click={handleUpMore}
on:touchend={handleUpMore}
Expand Down Expand Up @@ -234,6 +237,7 @@
{/key}
<div
role="button"
aria-label="tagMenuScrollDown"
tabindex="0"
on:click={handleDownMore}
on:touchend={handleDownMore}
Expand Down

0 comments on commit ff77517

Please sign in to comment.