Skip to content

Commit

Permalink
Ensure scroll to top button is hidden from keyboard navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyanreyer committed May 5, 2023
1 parent ffafb22 commit 677df81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/_components/shared/scroll-to-top.webc
Expand Up @@ -3,6 +3,7 @@
class="shadow"
onclick="window.scrollTo({ top: 0, behavior: 'smooth' })"
aria-hidden="true"
z-index="-1"
webc:root="override"
>
<svg
Expand Down
2 changes: 1 addition & 1 deletion src/index.webc
Expand Up @@ -54,7 +54,7 @@ description: "art director/they/them"
role="presentation"
alt=""
width="240, 320, 640"
sizes="(max-width: 768px) 80vw, 30vw"
sizes="(max-width: 768px) 65vw, 25vw"
class="box"
></eleventy-image>
<eleventy-image
Expand Down

0 comments on commit 677df81

Please sign in to comment.