Skip to content

🎨 Palette: Add skip to main content link for keyboard navigation - #123

Open
ELO2026X wants to merge 1 commit into
mainfrom
palette/skip-to-main-content-15226835162471026410
Open

🎨 Palette: Add skip to main content link for keyboard navigation#123
ELO2026X wants to merge 1 commit into
mainfrom
palette/skip-to-main-content-15226835162471026410

Conversation

@ELO2026X

@ELO2026X ELO2026X commented Jul 7, 2026

Copy link
Copy Markdown
Owner

💡 What: Added a "Skip to main content" link that becomes visible when focused, allowing keyboard users to bypass the sidebar navigation and jump directly to the 3D canvas and effect details.

🎯 Why: Keyboard users and screen reader users often have to tab through long lists of navigation links (like the effects sidebar) on every page load or state change. A skip link is a standard accessibility best practice that significantly improves their navigation experience.

📸 Before/After:

  • Before: Users pressing "Tab" from the start of the document would have to cycle through every effect in the sidebar before reaching the custom upload button or the 3D view controls.
  • After: The very first "Tab" press reveals a "Skip to main content" link in the top left corner. Pressing "Enter" immediately moves programmatic focus to the <main> content area.

Accessibility:

  • Added a visually hidden anchor link (sr-only) that becomes visible on keyboard focus (focus-visible:not-sr-only, focus-visible:absolute).
  • Updated ContentView's root div to a semantic <main id="main-content">.
  • Added tabIndex={-1} to <main> so it can receive programmatic focus without showing a persistent focus ring (focus:outline-none).

PR created automatically by Jules for task 15226835162471026410 started by @ELO2026X

Added a hidden "Skip to main content" link to the root `App` container that becomes visible on focus. Modified `ContentView` to use a semantic `<main>` tag with an ID and `tabIndex={-1}` to serve as the focus target, improving accessibility for keyboard and screen reader users.

Co-authored-by: ELO2026X <153048533+ELO2026X@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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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