Skip to content

[Bug]: Tab reaches the built-in browser page only after the app's sidebar toggle, and can't reach it in the narrow-window sheet #45830

Backlog

Description

@nibarAhmed

Note

🤖 Claude Opus 5.5 posting on behalf of nibarAhmed

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. On Windows, run NVDA and open the T3 Code desktop app in a window wider than 980px.
  2. Open a Browser tab in the right panel and load a page that has a link.
  3. Focus the address field and press Tab repeatedly.

Expected behavior

After the browser toolbar, Tab moves into the page, the way it does in a normal browser.

Actual behavior

From the address field, Tab goes through Annotate, Screenshot, the float button and the Preview menu, then jumps to "Toggle main sidebar" at the start of the app. Only after that does it reach the page's first link.

The page's place in the Tab order follows the DOM position of the separate layer that draws the webview (HostedBrowserWebview under #root), not the panel it appears in.

When the window is 980px or narrower, the panel is a modal sheet. From the code, I expect the sheet's focus trap to keep Tab inside the sheet, so a keyboard user can't reach the page at all. I haven't confirmed this with a screen reader. #45829 makes the page readable in the sheet but doesn't change keyboard focus.

Impact

Minor bug or occasional failure

Version or commit

main @ 0c0b965

Environment

Windows 11, T3 Code desktop, NVDA

Workaround

In NVDA browse mode, press M to jump to the page. In a wide window, keep pressing Tab past the sidebar toggle.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions