🎨 Palette: Add ARIA live region to game score#140
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. |
|
Stale pull request message |
💡 What
Added
aria-live="polite"andaria-atomic="true"to the#scoreelement insrc/views/mario-game.njk.Also fixed a pip install blocking issue in
requirements.txtby removing the un-installablevenvmodule.🎯 Why
When playing the game, the score updates dynamically. Screen readers need a way to announce this updating text without forcing the user to manually refocus the element. The
aria-liveregion solves this by instructing the screen reader to quietly read out the updated score as it increments.📸 Before/After
No visual changes.
♿ Accessibility
PR created automatically by Jules for task 12747635575427490591 started by @EiJackGH