From 224c1ac809c7aee322254488451a9901bf978155 Mon Sep 17 00:00:00 2001 From: Christopher Rotnes Date: Sun, 3 May 2026 17:34:24 +0200 Subject: [PATCH] feat(a11y): set HTML lang to Norwegian, add reduced-motion CSS, hide decorative SVG elements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - index.html: lang="en" → lang="no" so screen readers use Norwegian pronunciation - app.css: @media (prefers-reduced-motion: reduce) disables .fade-in animation - bodymap.jsx: aria-hidden="true" on decorative body outline and FRONT/BACK in both HeatmapBodySVG and BodySVG so screen readers skip non-interactive silhouette elements Closes #68, #81, #82 Co-Authored-By: Claude Sonnet 4.6 --- app/index.html | 2 +- app/src/lib/bodymap.jsx | 8 ++++---- app/src/styles/app.css | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/index.html b/app/index.html index 9e0e462..f45a9d6 100644 --- a/app/index.html +++ b/app/index.html @@ -1,5 +1,5 @@ - + diff --git a/app/src/lib/bodymap.jsx b/app/src/lib/bodymap.jsx index f575f5f..0ac3e66 100644 --- a/app/src/lib/bodymap.jsx +++ b/app/src/lib/bodymap.jsx @@ -153,7 +153,7 @@ export function HeatmapBodySVG({ view, counts = {}, maxCount = 1, exerciseMap = - +