🎨 Palette: Improve mario game UX and accessibility#205
Conversation
- Added explicit instructional text telling users how to jump. - Added aria-live attributes to the score element for screen readers. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…me, and fix CI - Added explicit instructional text telling users how to jump. - Added aria-live attributes to the score element for screen readers. - Fixed CI check suite failure by permanently removing the `venv` module from `requirements.txt`. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
💡 What
Added explicit instructional text telling the user how to jump ("Press Space or Up Arrow to jump!") and added
aria-live="polite"to the score text so it announces to screen readers.🎯 Why
Without explicit instructions, players (especially new ones) are left guessing which keys work for interaction, which leads to confusion. Additionally, as the score updates dynamically when goombas are avoided, screen readers would not naturally pick up the change, creating an accessibility barrier.
📸 Before/After
(Verified via Playwright screenshot locally)
Before: Only the score is shown.
After: Instructional text with a slight opacity (0.8) sits neatly under the score, maintaining the retro vibe without distracting from gameplay.
♿ Accessibility
aria-live="polite"andaria-atomic="true"to#scoreto ensure the dynamic score changes are announced to assistive technologies without aggressively interrupting the user.PR created automatically by Jules for task 1115560114099330141 started by @EiJackGH