Skip to content

🎨 Palette: Semantic Navigation & Accessibility Improvements - #46

Open
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette/ux-accessibility-improvements-11892234059163294350
Open

🎨 Palette: Semantic Navigation & Accessibility Improvements#46
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette/ux-accessibility-improvements-11892234059163294350

Conversation

@ISTEC-FOR340

Copy link
Copy Markdown
Owner

This PR improves the accessibility and semantic structure of the MySketches landing page and its subprojects. By switching from JavaScript-driven navigation to semantic <a> tags, we enable standard browser features (like opening in a new tab) and improve screen reader compatibility. Additionally, we've added explicit :focus-visible states to provide clear visual affordances for keyboard users.

β™Ώ Accessibility Improvements

  • Semantic HTML: Used <a> tags for all navigation elements.
  • Focus Indicators: Implemented custom high-contrast focus rings for cards and buttons.
  • Language Localization: Ensured lang="es" is correctly set for the target audience.
  • Valid Nesting: Converted nested buttons to spans within links to avoid interactive content nesting issues.

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

- Refactored landing page cards from `div` with JS `onclick` to semantic `<a>` tags.
- Converted nested buttons to `<span>` to maintain valid HTML and visual style.
- Added high-contrast `:focus-visible` styles using `box-shadow` for better keyboard navigation.
- Standardized `lang="es"` across project pages for consistent screen reader support.
- Converted "Back" buttons in subprojects to semantic links.
- Removed obsolete `script.js`.

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