Skip to content

Commit

Permalink
a11y: add focus for mouseover as well
Browse files Browse the repository at this point in the history
  • Loading branch information
weiland committed Aug 13, 2023
1 parent ac1a669 commit 834d0b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
disabled={inProgress}
class="btn"
on:mouseover={() => (showMyFace = true)}
on:focus={() => (showMyFace = true)}
on:mouseleave={() => (showMyFace = false)}
>👉 Let's drink a {(drink === OTHER_DRINK
? other_drink
Expand Down

0 comments on commit 834d0b2

Please sign in to comment.