🎨 Palette: Add explicit controls and score accessibility to Mario game#155
🎨 Palette: Add explicit controls and score accessibility to Mario game#155EiJackGH wants to merge 1 commit into
Conversation
- Added visible on-screen instructions for game controls ("Press Space or Up Arrow to jump") to improve discoverability for new players.
- Added `aria-live="polite"` and `aria-atomic="true"` to the score counter element so screen readers can dynamically announce score changes.
- Fixed `requirements.txt` to remove invalid `venv` entry to ensure tests can run in CI/local.
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. |
💡 What
venvdependency inrequirements.txtto fix testing environment.🎯 Why
aria-liveto the score, users utilizing screen readers will now hear their score update as they successfully jump over Goombas.📸 Before/After
Before: Only "Score: 0" was visible.
After: "Score: 0" followed by "Press Space or Up Arrow to jump" underneath, explicitly guiding the user.
♿ Accessibility
aria-live="polite"andaria-atomic="true"on the#scoreelement for dynamic screen reader announcements.PR created automatically by Jules for task 2229235868534690630 started by @EiJackGH