🎨 Palette: [UX improvement] Add keyboard shortcut hint and accessible score updates to Mario game#145
🎨 Palette: [UX improvement] Add keyboard shortcut hint and accessible score updates to Mario game#145EiJackGH wants to merge 2 commits 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. |
Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
|
Stale pull request message |
What
Added a visible hint
Press Space or Up Arrow to jumpand ensured that the score display is screen-reader accessible.Why
New players may not immediately realize what the controls are to play the game. In addition, the real-time score updates were visually accessible but completely silent to screen reader users.
Before/After
Before: No instructions for gameplay, score container lacked aria tags.
After: New instructions added beneath the score and the score is announced nicely via a polite aria live region.
Accessibility
aria-live="polite"andaria-atomic="true"to#scoreso real-time numerical updates are announced to assistive tech appropriately without disrupting the flow.PR created automatically by Jules for task 6798948445136341386 started by @EiJackGH