From 0dde848cfe434ce931df0487904c57ba339d4d53 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 12 Jun 2026 15:04:53 +0200 Subject: [PATCH] add aria labels to non-labelled icons --- TODO | 5 +++-- src/components/Footer.tsx | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index b6f6871..b900f68 100644 --- a/TODO +++ b/TODO @@ -2,10 +2,11 @@ - logger - set game current position on game load to ply 0 and whatever the FEN is (starting position probably, but could be custom position) - privacy policy - have no access to anything you generate, only keep a count of success/failed pdf generations with timestamp and error message -- a11y and lighthouse fixes +- a11y and lighthouse fixes - heading tags error, color contrast, - check wcag compliance - 429 lichess error handling - retry after 10 seconds - try/catch where needed in client code - generate state and check it against the state returned from lichess https://lichess.org/api#tag/oauth/GET/oauth - checkbox and toggle disabled states -- react query on for study and chapter load, to allow caching \ No newline at end of file +- react query on for study and chapter load, to allow caching +- https://specification.website/checklist/ \ No newline at end of file diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index d2706b1..9d2aee7 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -18,6 +18,7 @@ export default function Footer() { width={10} height={10} className="hidden h-10 w-10 sm:block" + aria-label="ChessScribe Logo" />
@@ -30,6 +31,7 @@ export default function Footer() { href={GITHUB_URL} target="_blank" rel="noopener noreferrer" + aria-label="GitHub" className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out cursor-pointer" > @@ -38,6 +40,7 @@ export default function Footer() {