Skip to content

🎨 Palette: Accessible and Semantic Navigation - #50

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

🎨 Palette: Accessible and Semantic Navigation#50
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette-accessible-semantic-navigation-12987352455878738979

Conversation

@ISTEC-FOR340

Copy link
Copy Markdown
Owner

I've enhanced the project's accessibility and semantic structure with the following micro-UX improvements:

  1. Semantic Navigation: Replaced non-semantic div elements and manual JavaScript navigation with proper <a> tags. This provides native keyboard support, better SEO, and a more robust user experience.
  2. Focus Visibility: Added high-contrast :focus-visible styles using the design system's accent color. This ensures that keyboard users have clear visual feedback when navigating the site.
  3. Accessibility Best Practices:
    • Set the lang="es" attribute on all pages to match the target audience and content.
    • Added aria-label="Volver al inicio" to the refactored back links.
    • Converted nested buttons within cards to <span> elements to avoid invalid nested interactive HTML.
  4. Code Cleanup: Removed the redundant script.js as navigation is now handled natively by the browser.

These changes make the "Interactive Sketches" landing page and its subprojects more inclusive and intuitive without altering the original visual design.


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

- Refactor navigation cards to semantic <a> tags for native keyboard support and better SEO.
- Add explicit :focus-visible styles to cards, buttons, and inputs for clear keyboard navigation feedback.
- Convert "Back" buttons to semantic <a> tags with ARIA labels.
- Set HTML lang attributes to "es" for accessibility.
- Remove redundant script.js navigation logic.

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