From a736100a8f692577a4e1ce9a7673e54ba885465d Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 13:30:03 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20keyboard=20?= =?UTF-8?q?hint=20and=20ARIA=20live=20region=20to=20game=20score?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added a helpful "Space or ↑ to jump" hint below the score. - Added `aria-live="polite"` and `aria-atomic="true"` to the score element so screen readers announce score changes. - Added `aria-hidden="true"` to the visual hint to prevent screen reader redundancy. - Added a subtle text-shadow to make text more readable against the blue background. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com> --- src/views/mario-game.njk | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/views/mario-game.njk b/src/views/mario-game.njk index 8a3c1fd..95935a6 100644 --- a/src/views/mario-game.njk +++ b/src/views/mario-game.njk @@ -51,6 +51,19 @@ color: white; font-size: 20px; font-family: Arial; + font-weight: bold; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); + } + + #controls-hint { + position: absolute; + top: 40px; + left: 10px; + color: rgba(255, 255, 255, 0.9); + font-size: 14px; + font-family: Arial, sans-serif; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); + pointer-events: none; } @@ -58,7 +71,8 @@