🎨 Palette: Add keyboard instructions and ARIA attributes to Mario game#157
🎨 Palette: Add keyboard instructions and ARIA attributes to Mario game#157EiJackGH wants to merge 1 commit into
Conversation
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:
Added visible keyboard instructions ("Press Space or ↑ to jump") to the top right of the game container. Also added
aria-live="polite"andaria-atomic="true"to the score container. Additionally, I removedvenvfromrequirements.txtto fix pip installations.🎯 Why:
Users need to know what keys to press to interact with the game. Without instructions, the custom keybindings are a guess.
📸 Before/After:
Before: The top right was empty and the score wasn't announced.
After: The top right has "Press Space or ↑ to jump" with a semi-transparent dark background.
♿ Accessibility:
The new ARIA attributes ensure that screen readers will correctly read out the dynamic score when it is updated. The explicit visible instructions help users with cognitive or interactive needs know how to play.
PR created automatically by Jules for task 7637536614692917530 started by @EiJackGH