π¨ Palette: Semantic Navigation & Focus States - #44
Conversation
β¦tates - Replace JS-based card navigation with semantic <a> tags - Convert nested buttons to <span> elements for valid HTML - Add :focus-visible styles to cards for delightful keyboard navigation - Refactor project "Back" buttons to semantic <a> tags - Standardize lang="es" for consistency with target audience (ISTEC) - Clean up redundant script.js and manual routing logic Co-authored-by: ISTEC-FOR340 <269002038+ISTEC-FOR340@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. |
π¨ Palette: Semantic Navigation & Focus States
π‘ What
This PR improves the accessibility and usability of the Interactive Sketches collection by replacing non-semantic, JavaScript-driven navigation with standard HTML anchors.
Key changes:
<a>tags instead ofdiv/buttonwithonclick.:focus-visiblestyles to project cards that mirror the existing hover effects (lifting animation and glow), providing a consistent and pleasant experience for keyboard users.script.jsand manual routing logic as it is now redundant.langattribute to"es"across all pages to better support the Spanish-speaking student demographic (ISTEC).π― Why
Native navigation is more robust, supports standard browser behaviors (middle-click, right-click, keyboard focus), and provides a clearer structure for assistive technologies. Adding focus indicators ensures the interface is fully navigable and visually responsive to keyboard interactions.
βΏ Accessibility
PR created automatically by Jules for task 3327561888174266170 started by @ISTEC-FOR340