[Studio UI] Add skip-to-content link for keyboard users - #4059
Conversation
Hidden link at the top of the layout that becomes visible on Tab focus. Skips the sidebar navigation and jumps to the main content area. Standard WCAG 2.4.1 (Bypass Blocks) pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🌐 Translations synced automaticallyThe key changes below were generated for all target languages, passed the Added (1):
ℹ️ Pre-existing translation errors (not from this PR)12 validation error(s) predating this PR are still present. They are not blocking it; clearing them needs another run or a dedicated backfill. |
There was a problem hiding this comment.
Pull request overview
Adds a keyboard skip link to bypass the sidebars and reach the widget manager.
Changes:
- Adds a translated “Skip to content” link.
- Adds focus-visible styling.
- Wraps the widget manager in the link target.
Review assessment:
- The correct layout boundary and all relevant call sites are covered.
- No public API compatibility impact.
- The target is not reliably focusable across browsers; an accessibility comment was filed.
- Only manual testing is provided; cross-browser focus behavior remains unverified.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
translations/studio.en.yaml |
Adds the English link label. |
base-layout-view.tsx |
Adds the skip link and content target. |
base-layout-view.styles.ts |
Shows the link when focused. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <div id="main-content"> | ||
| <WidgetManagerContainer /> | ||
| </div> |
The #main-content target needs tabIndex={-1} so browsers move
keyboard focus (not just scroll) when the skip link is activated.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|



Summary
#main-contentwrapping the WidgetManagerContainerTest plan
🤖 Generated with Claude Code
Relates to https://github.com/pimcore/product-management/issues/372