Skip to content

fix(hub-ui): give dock iframes a title and the standalone hub landmarks - #425

Open
erkamyaman wants to merge 2 commits into
devframes:mainfrom
erkamyaman:fix/hub-ui-landmarks
Open

erkamyaman wants to merge 2 commits into
devframes:mainfrom
erkamyaman:fix/hub-ui-landmarks

Conversation

@erkamyaman

Copy link
Copy Markdown
Contributor

axe reports two violations on the standalone hub page (/__devframes/), in both color schemes:

  • frame-title: dock iframes have no accessible name.
  • landmark-one-main / region: the page content is not inside any landmark.

Changes:

  • ViewIframe.vue: each dock iframe gets its dock's title, localized with localizeTitle, and the title follows UI language changes.
  • DockStandalone.vue: the dock list is a <nav aria-label="Docks">, and the content area and the auth notice are <main>.

Checked with axe on the hub-ui playground in dark and light: both violations are gone with this change and present without it. Lint, build and the hub-ui tests (130) pass.

axe flags the standalone hub page for an unnamed dock iframe and for content outside any landmark. Each dock iframe now carries its localized dock title, and the dock list and content area are nav and main landmarks.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 20:03
@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
devframe Skipped Skipped Oct 2, 2026 8:17pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The navigation landmark label needs localization to match the selected UI language.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Improves accessibility in the standalone hub and dock iframes.

Changes:

  • Adds localized iframe titles that follow UI language changes.
  • Adds navigation and main landmarks, including for the authentication notice.
File Description
packages/​hub-ui/​src/​client/​components/​views/​ViewIframe.vue Sets reactive, localized iframe titles.
packages/​hub-ui/​src/​client/​components/​dock/​DockStandalone.vue Adds navigation and main landmarks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/hub-ui/src/client/components/dock/DockStandalone.vue Outdated
The nav landmark kept an English name when the UI switched language. It now uses the existing settings.docks translation.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 20:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused accessibility changes follow existing localization and rendering patterns, with no unresolved issues.

Review effort: Balanced
Findings: None

Resolved since last review (1)

This branch was previously deployed

1 inactive deployment
Preview — 30be301f Deployed Oct 2, 2026 by vercel[bot]
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.

2 participants