From 64e4831afd4ffea6c05a122d87286d97a0e1a7ad Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 13:57:06 +0000 Subject: [PATCH] feat(ux): Add instructional text and ARIA live region to Mario game Added visible instructions for keyboard controls (Space/Up Arrow) to improve intuitive gameplay, and enabled `aria-live` on the score to allow screen readers to announce score updates. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com> --- src/views/mario-game.njk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/views/mario-game.njk b/src/views/mario-game.njk index 67b6bd7..edb73d7 100644 --- a/src/views/mario-game.njk +++ b/src/views/mario-game.njk @@ -52,13 +52,24 @@ font-size: 20px; font-family: Arial; } + + #instructions { + position: absolute; + top: 40px; + left: 10px; + color: white; + font-size: 16px; + font-family: Arial; + opacity: 0.8; + }