add aria labels to non-labelled icons

This commit is contained in:
2026-06-12 15:04:53 +02:00
parent ee9968e99b
commit 0dde848cfe
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -2,10 +2,11 @@
- logger - logger
- set game current position on game load to ply 0 and whatever the FEN is (starting position probably, but could be custom position) - 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 - 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 - check wcag compliance
- 429 lichess error handling - retry after 10 seconds - 429 lichess error handling - retry after 10 seconds
- try/catch where needed in client code - 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 - generate state and check it against the state returned from lichess https://lichess.org/api#tag/oauth/GET/oauth
- checkbox and toggle disabled states - checkbox and toggle disabled states
- react query on for study and chapter load, to allow caching - react query on for study and chapter load, to allow caching
- https://specification.website/checklist/
+3
View File
@@ -18,6 +18,7 @@ export default function Footer() {
width={10} width={10}
height={10} height={10}
className="hidden h-10 w-10 sm:block" className="hidden h-10 w-10 sm:block"
aria-label="ChessScribe Logo"
/> />
</Link> </Link>
<div> <div>
@@ -30,6 +31,7 @@ export default function Footer() {
href={GITHUB_URL} href={GITHUB_URL}
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="GitHub"
className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out cursor-pointer" className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out cursor-pointer"
> >
<LuGithub /> <LuGithub />
@@ -38,6 +40,7 @@ export default function Footer() {
<Link <Link
to="/contact" to="/contact"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label="Contact"
className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out" className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out"
> >
<LuMail /> <LuMail />