From 76707b128bdca9337f802caa4f22853fbce15840 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 13:11:43 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20keyboard=20inst?= =?UTF-8?q?ructions=20and=20ARIA=20attributes=20to=20Mario=20game?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added on-screen instructional text for keyboard controls ("Press Space or ↑ to jump") to improve discoverability. Added `aria-live="polite"` and `aria-atomic="true"` to the score element so screen readers can announce score updates. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com> --- src/views/mario-game.njk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/mario-game.njk b/src/views/mario-game.njk index 67b6bd7..b64b2db 100644 --- a/src/views/mario-game.njk +++ b/src/views/mario-game.njk @@ -52,13 +52,23 @@ font-size: 20px; font-family: Arial; } + + #instructions { + position: absolute; + top: 40px; + left: 10px; + color: rgba(255, 255, 255, 0.8); + font-size: 14px; + font-family: Arial; + }