Skip to content

🎨 Palette: Add skip link and fix reworking text color#6

Open
MilakyS wants to merge 1 commit into
mainfrom
palette/add-skip-link-fix-reworking-styles-13519642925373379305
Open

🎨 Palette: Add skip link and fix reworking text color#6
MilakyS wants to merge 1 commit into
mainfrom
palette/add-skip-link-fix-reworking-styles-13519642925373379305

Conversation

@MilakyS
Copy link
Copy Markdown
Member

@MilakyS MilakyS commented May 2, 2026

💡 What: This PR adds a "Skip to Content" accessibility link that appears on focus, allowing keyboard and screen reader users to bypass the navigation menu. It also fixes a minor visual bug where the "Reworking..." text on the Playground and Roadmap pages was nearly invisible due to an undefined CSS variable.

🎯 Why:

  • Accessibility: Users navigating with keyboards or screen readers currently have to tab through all navigation items on every page load. The skip link provides a way to jump straight to the relevant content.
  • Visual Polish: The reworking view is used to indicate pages in progress. Ensuring the text is visible and consistent with the site's theme maintains a professional appearance.

♿ Accessibility:

  • Added a skip link that is visually hidden until focused.
  • Used tabindex="-1" on the main content target to ensure proper focus management across all browsers and assistive technologies.
  • Provided localized labels for the skip link in both English and Russian.

📸 Verified visually using Playwright (screenshots available in verification folder).


PR created automatically by Jules for task 13519642925373379305 started by @MilakyS

- Implement "Skip to content" link for improved keyboard accessibility.
- Standardize `#main-content` ID and `tabindex="-1"` across all pages.
- Update `assets/js/header.js` to dynamically inject the skip link.
- Add i18n keys for the skip link in English and Russian.
- Fix undefined `--text-dim` variable in `assets/css/reworking.css`.
- Update `roadmap.js` and `changelog.js` to use the new generic content ID.

Co-authored-by: MilakyS <155958485+MilakyS@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