Skip to content

🎨 Palette: Improve keyboard accessibility and semantic navigation - #36

Open
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette-improve-navigation-accessibility-8176865489169789706
Open

🎨 Palette: Improve keyboard accessibility and semantic navigation#36
ISTEC-FOR340 wants to merge 1 commit into
mainfrom
palette-improve-navigation-accessibility-8176865489169789706

Conversation

@ISTEC-FOR340

Copy link
Copy Markdown
Owner

I have improved the keyboard accessibility and semantic structure of the 'MySketches' project.

Key changes include:

  • Skip to main content: Added a skip link to allow keyboard users to bypass the header.
  • Semantic Navigation: Replaced div cards on the landing page and button elements on project pages with semantic <a> tags. This ensures navigation works without JS and leverages native browser features.
  • Redundancy Cleanup: Removed the onclick listeners in script.js as they are no longer needed.
  • Visual Focus Indicators: Implemented :focus-visible styles in CSS to provide high-contrast focus rings for keyboard users while maintaining a clean aesthetic for mouse users.
  • A11y Refinements: Ensured that link text is properly announced by screen readers by removing unnecessary aria-hidden attributes on call-to-action spans.

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

This change enhances the project's accessibility and UX by:
- Adding a 'Skip to main content' link.
- Converting non-semantic project cards and 'Back' buttons into semantic <a> tags.
- Removing redundant JavaScript-based navigation.
- Adding focus-visible styles for all interactive elements to ensure clear keyboard navigation indicators.

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