Skip to content

Commit

Permalink
fix(play): fix play button a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
matschik committed Oct 28, 2024
1 parent 30cb571 commit 6ca0584
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
{@const frameworkSnippetIsError =
snippetsByFrameworkIdError.has(frameworkId)}
<div style:margin-top="0rem" style:order="0">
<div>
<div
class="flex justify-between items-center space-x-3"
>
Expand All @@ -360,9 +360,10 @@
aria-label={`Open playground for ${framework.title}`}
>
<button
class="opacity-50 hover:opacity-100 bg-gray-800 hover:bg-gray-700 py-1 px-1.5 rounded transition-all"
class="opacity-50 hover:opacity-100 bg-gray-800 hover:bg-gray-700 py-1 px-2 rounded transition-all flex items-center gap-x-2"
title={`Open playground for ${framework.title}`}
aria-label={`Open playground for ${framework.title}`}
tabindex="-1"
>
<div
class="i-heroicons:play size-4"
Expand Down

0 comments on commit 6ca0584

Please sign in to comment.