Skip to content

🎨 Palette: Semantic and accessible navigation - #41

Open
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette-semantic-navigation-17650529940351359650
Open

🎨 Palette: Semantic and accessible navigation#41
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette-semantic-navigation-17650529940351359650

Conversation

@ISTEC-FOR340

Copy link
Copy Markdown
Owner

πŸ’‘ What: Refactored navigation cards and back buttons from non-semantic div/button elements with manual JavaScript handlers to semantic tags.

🎯 Why: This change restores native browser behaviors (like middle-click to open in a new tab), simplifies the codebase by removing manual location handling, and significantly improves accessibility for keyboard and screen reader users.

β™Ώ Accessibility:

  • Added high-contrast :focus-visible indicators for all interactive cards and buttons.
  • Ensured valid HTML by converting nested interactive elements (buttons) to descriptive spans within the parent link.
  • Verified keyboard tab order and focus states across the landing page and subprojects.
  • Set proper language attributes in subprojects for screen reader consistency.

PR created automatically by Jules for task 17650529940351359650 started by @ISTEC-FOR340

- Refactor landing page cards to semantic <a> tags
- Convert nested buttons to spans to maintain valid HTML
- Add focus-visible styles for keyboard navigation
- Remove redundant JS navigation logic
- Improve subproject navigation consistency
- Add Palette journal entry

Co-authored-by: ISTEC-FOR340 <269002038+ISTEC-FOR340@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant