🎨 Palette: Add Clear Rating button and improve accessibility#61
🎨 Palette: Add Clear Rating button and improve accessibility#61Gamepulse wants to merge 1 commit into
Conversation
…etailHeader - Add 'clearRating' translation key in English and French. - Add 'Clear Rating' button to reset personal rating to null. - Convert interactive folder path from <p> to <button> for keyboard accessibility. - Add proper <label> associations with unique IDs for platform selector and rating slider. - Add consistent focus-visible styles (indigo rings) to all interactive header elements. - Use aria-hidden on decorative icons and emojis. - Fix pre-existing TypeScript error in GameScreenshotsCarousel.tsx (unused 'hasIgdbId'). Co-authored-by: Gamepulse <8333979+Gamepulse@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. |
This PR introduces several micro-UX and accessibility improvements to the game detail header:
<button>, making it focusable and actionable for keyboard users.htmlFor.focus-visiblerings to all interactive elements in the header, including the favorite star, IGDB button, folder path, and tags.aria-hiddento decorative icons and provided descriptivearia-labels for icon-heavy buttons.GameScreenshotsCarousel.tsxthat was causingpnpm buildto fail.These changes make the game details more accessible and intuitive without altering the core design.
PR created automatically by Jules for task 3211844614363403799 started by @Gamepulse