Skip to content

Commit

Permalink
fix: use a a element instead of a button
Browse files Browse the repository at this point in the history
Improves accessibility.
  • Loading branch information
VaiTon committed Oct 4, 2023
1 parent 802afb0 commit e7df6c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/routes/dash/[course]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
</h1>
</div>
<div class="navbar-end">
<button class="btn btn-square btn-ghost" title="Indietro" on:click={() => history.back()}>
⬆️
</button>
<a class="btn btn-square btn-ghost" title="Indietro" href="/"> ⬆️ </a>
</div>
</nav>

Expand All @@ -75,7 +73,10 @@
{/if}
</a>
{#if teaching.telegram}
<a href="https://t.me/{teaching.telegram}" class="text-center text-lg join-item border-l-2">👥</a>
<a
href="https://t.me/{teaching.telegram}"
class="text-center text-lg join-item border-l-2">👥</a
>
{/if}
</li>
{/each}
Expand Down

1 comment on commit e7df6c9

@vercel
Copy link

@vercel vercel bot commented on e7df6c9 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dynamik – ./

dynamik-git-main-csunibo.vercel.app
dynamik-csunibo.vercel.app
dynamik.vercel.app

Please sign in to comment.