Skip to content

Commit

Permalink
chore: remove aria-selected attribute from button as it causes warnin…
Browse files Browse the repository at this point in the history
…gs in latest svelte that get rendered in github action checks (#626)
  • Loading branch information
dominikg committed Apr 17, 2023
1 parent 89ea5e8 commit f1b9c78
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@
{#if !won && data.answer}
<p>the answer was "{data.answer}"</p>
{/if}
<button data-key="enter" aria-selected="true" class="restart" formaction="?/restart">
<button data-key="enter" class="restart" formaction="?/restart">
{won ? 'you won :)' : `game over :(`} play again?
</button>
{:else}
<div class="keyboard">
<button data-key="enter" aria-selected={submittable} disabled={!submittable}>enter</button>
<button data-key="enter" disabled={!submittable}>enter</button>
<button
on:click|preventDefault={update}
Expand Down

0 comments on commit f1b9c78

Please sign in to comment.