π¨ Palette: Add skip to main content link#11
Conversation
Adds a hidden "Skip to main content" link at the top of the body that becomes visible when focused via keyboard navigation. Updates the main element to receive focus and adds required i18n support.
|
π 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
OpenCode Review Overview
|
There was a problem hiding this comment.
OpenCode Agent approved this PR.
The PR introduces accessibility improvements, including a skip-to-content link and proper ARIA roles, and updates documentation. No blockers or regressions were found.
- Result: APPROVE
- Reason: The changes improve accessibility and maintainability without introducing regressions.
- Head SHA:
90ab7fb2b4a9278ffcdc34dda62f418cbd7a29ee - Workflow run: 27906577401
- Workflow attempt: 1
π‘ What:
Added a "Skip to main content" link (
.skip-link) at the start of the<body>element. It remains hidden off-screen until it receives focus (:focus-visible).π― Why:
This addresses a critical accessibility issue where keyboard and screen reader users must tab through the entire primary navigation menu before reaching the main content. This allows users to easily jump to the primary content section.
πΈ Before/After:
<main>element when activated.βΏ Accessibility:
tabindex="-1"on<main>so it programmatically receives focus without entering the normal tab order.outlinefrom<main>when it gets focused to preserve visual polish for mouse and keyboard users.PR created automatically by Jules for task 1857426969393064369 started by @seonghobae