Skip to content

Commit a77001a

Browse files
committed
Better labling
1 parent e5b41bc commit a77001a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib/components/ControlModules/impl/ActionButtons.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
class={cn(buttonClasses, {
4949
active: type === active || type === selfActive,
5050
})}
51-
aria-label={ControlType[type]}
51+
title={ControlType[type]}
5252
onclick={() => trigger(type)}
5353
{disabled}
5454
>

src/routes/Header.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<header
2929
class="border-border/40 bg-background/95 supports-backdrop-filter:bg-background/60 sticky top-0 z-50 flex h-12 w-full flex-row items-center border-b px-2 backdrop-blur-sm"
3030
>
31-
<Button variant="ghost" class="size-8" onclick={() => sidebar.toggle()}>
31+
<Button variant="ghost" class="size-8" title="Open Sidebar" onclick={() => sidebar.toggle()}>
3232
<PanelLeft size={24} class="m-0 text-gray-600 dark:text-gray-300" />
3333
</Button>
3434
{#if $BreadCrumbStore.length > 0}
@@ -85,10 +85,10 @@
8585
{@render headerItem('Login', '/login')}
8686
{@render headerItem('Sign Up', '/signup')}
8787
<div class="hidden sm:flex sm:flex-row">
88-
<a href={PUBLIC_GITHUB_PROJECT_URL} class="p-2" aria-label="GitHub">
88+
<a href={PUBLIC_GITHUB_PROJECT_URL} class="p-2" title="Project GitHub">
8989
<GithubIcon class="size-6 fill-black dark:fill-white" />
9090
</a>
91-
<a href={PUBLIC_DISCORD_INVITE_URL} class="p-2" aria-label="Discord">
91+
<a href={PUBLIC_DISCORD_INVITE_URL} class="p-2" title="Community Discord">
9292
<DiscordIcon class="size-6 fill-black dark:fill-white" />
9393
</a>
9494
</div>

0 commit comments

Comments
 (0)