Repository navigation
π¨ Palette: Make Drive Explorer list items accessible - #41
Conversation
Co-authored-by: jasandroidx <77057656+jasandroidx@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 semantic
role="button",tabIndex={0}, keyboard support (onKeyDown), andfocus-visiblestyles to the file list items inDriveExplorerthat were previously genericdivelements withonClickhandlers.π― Why: To make the file explorer accessible to keyboard users and screen readers, ensuring that they can navigate and interact with file list items effectively (a core part of the app's functionality). This is a common accessibility issue with generic
divitems.πΈ Before/After: No visual changes for mouse users. Keyboard users will now see a focused outline around list items, and screen readers will announce them as buttons.
βΏ Accessibility:
role="button"for semantic clarity.tabIndex={0}to make them focusable.onKeyDownhandler to allow activation via Enter and Space keys.focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accentfor clear focus states.PR created automatically by Jules for task 10745519557096982623 started by @jasandroidx