Skip to content

Commit a5efd06

Browse files
committed
refactor: correct spelling of "Hacker Tracker" in aria-label and display name for improved accessibility
1 parent 2142033 commit a5efd06

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/ConferenceHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ export function ConferenceHeader({ conference }: { conference: HTConference }) {
141141
key={key}
142142
to={to}
143143
className={classes}
144-
aria-label={key === "home" ? "HackerTracker home" : label}
145-
title={key === "home" ? "HackerTracker home" : label}
144+
aria-label={key === "home" ? "Hacker Tracker home" : label}
145+
title={key === "home" ? "Hacker Tracker home" : label}
146146
aria-current={ariaCurrent ? "page" : undefined}
147147
>
148148
<Icon className={`h-5 w-5 ${iconClassName}`} />

src/components/HTHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ export function HTHeader({ variant = "default" }: { variant?: "default" | "splas
7272
<div className="flex min-h-16 w-full items-center justify-between gap-3 px-4 py-2.5 sm:px-6 lg:px-10">
7373
<Link
7474
to="/"
75-
aria-label="HackerTracker Home"
75+
aria-label="Hacker Tracker Home"
7676
className="ui-focus-ring group min-w-0 rounded-xl px-2 py-1.5 transition-colors hover:bg-white/4 focus-visible:outline-none"
7777
>
7878
<span className="flex min-w-0 items-center gap-2.5">
7979
<span className="truncate text-xl font-bold tracking-tight text-slate-50 drop-shadow-[0_0_14px_rgba(108,205,187,0.16)] transition-colors group-hover:text-white group-hover:drop-shadow-[0_0_18px_rgba(108,205,187,0.22)] sm:text-2xl">
80-
HackerTracker
80+
Hacker Tracker
8181
</span>
8282
</span>
8383
</Link>

0 commit comments

Comments
 (0)