mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
a11y(insights): hide the workouts back-link arrow from assistive tech
The workouts detail back-link's `ArrowLeft` glyph carried no `aria-hidden`, so a screen reader announced it alongside the link text. Add `aria-hidden="true"`, matching the sibling values detail page's back-link. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> (cherry picked from commit 108c3ff583a707b100570e2999b129055f90c76f)
This commit is contained in:
1 parent
4364f3b509
commit
2123c63af4
1 file changed
+1
-1
@@ -49,7 +49,7 @@ export default function InsightsWorkoutDetailPage({
|
||||
className="-ml-2 w-fit"
|
||||
>
|
||||
<Link href="/insights/workouts">
|
||||
<ArrowLeft className="mr-1 size-4" />
|
||||
<ArrowLeft className="mr-1 size-4" aria-hidden="true" />
|
||||
{t("insights.workouts.detail.backToList")}
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user