App shell: Composer opens without moving focus inside #1321

Open
opened 2026-10-07 05:22:19 +00:00 by kayg · 1 comment
Owner

Steps to reproduce:

  1. Open the real Files route in the production web build.
  2. Press the keyboard shortcut n to open Composer.
  3. Check document.activeElement while the Composer dialog is open.

Expected: Focus moves into Composer so keyboard and screen-reader users can enter text without leaving the dialog.

Actual: The real-server accessibility run observed role=dialog / aria-modal=true for Composer while document.activeElement remained body (Paper at 1440 px and 390 px, and Tokyo Night at 1440 px).

Evidence: artifacts/bash-chrome/a11y-files/overlay-focus-findings.txt.
Severity: major.

Steps to reproduce: 1. Open the real Files route in the production web build. 2. Press the keyboard shortcut `n` to open Composer. 3. Check `document.activeElement` while the Composer dialog is open. Expected: Focus moves into Composer so keyboard and screen-reader users can enter text without leaving the dialog. Actual: The real-server accessibility run observed `role=dialog` / `aria-modal=true` for Composer while `document.activeElement` remained `body` (Paper at 1440 px and 390 px, and Tokyo Night at 1440 px). Evidence: `artifacts/bash-chrome/a11y-files/overlay-focus-findings.txt`. Severity: major.
Author
Owner

Follow-up from #1222: the original focus report was a probe timing false positive. The A11Y check now waits two animation frames for the shared OverlaySurface initial-focus handoff before it inspects a modal. On the production build with macOS emulation, the Composer dialog kept focus inside its modal at 1440 px in Paper and 390 px in Tokyo Night; axe reported zero serious or critical findings. I could not reproduce focus remaining on the background after the handoff. I made no product focus change; leaving this issue open for owner review.

Follow-up from #1222: the original focus report was a probe timing false positive. The A11Y check now waits two animation frames for the shared OverlaySurface initial-focus handoff before it inspects a modal. On the production build with macOS emulation, the Composer dialog kept focus inside its modal at 1440 px in Paper and 390 px in Tokyo Night; axe reported zero serious or critical findings. I could not reproduce focus remaining on the background after the handoff. I made no product focus change; leaving this issue open for owner review.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1321
No description provided.