π¨ Palette: Enhance navigation semantics and accessibility - #56
π¨ Palette: Enhance navigation semantics and accessibility#56ISTEC-FOR340 wants to merge 1 commit into
Conversation
- Refactored landing page cards from `div` with `onclick` to semantic `<a>` tags. - Converted nested buttons to `<span>` to maintain valid HTML while preserving visual design. - Added high-contrast `:focus-visible` indicators to all navigation elements. - Improved accessibility of "Back" buttons with `aria-label` and semantic tags. - Corrected HTML `lang` attributes to "en" to match content. - Simplified `script.js` by removing manual routing logic. - Ensured consistent keyboard navigation support across the main page and subprojects. 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. |
This PR implements a micro-UX enhancement focused on semantic HTML and accessibility.
π‘ What
div+onclick) to native semantic<a>tags.lang="en") and accessibility labels (aria-label="Back to home").π― Why
Semantic HTML improves SEO, enables native browser features (like "Open in new tab"), and provides much better out-of-the-box support for assistive technologies. Visible focus indicators are essential for keyboard navigation, and correct language attributes ensure screen readers use the right pronunciation.
βΏ Accessibility Improvements
langattribute to ensure correct screen reader voice selection.πΈ Verification
Verified using Playwright. Navigation works correctly, and focus states are visually confirmed in the generated screenshots.
PR created automatically by Jules for task 5960277806891821015 started by @ISTEC-FOR340