App shell: Touch sheets leave focus on background file rows #1322

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

Steps to reproduce:

  1. Open Files at 390 px with touch enabled.
  2. Open a file's Share action or Quick Look.
  3. Check document.activeElement while the modal sheet is open.

Expected: Focus enters the active modal sheet and does not remain on a background file row.

Actual: The real-server accessibility run found the Share dialog open while focus remained on the Audit folder row in Paper. It found Quick Look open while focus remained on the Audit note.txt row in Paper and Tokyo Night.

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

Steps to reproduce: 1. Open Files at 390 px with touch enabled. 2. Open a file's Share action or Quick Look. 3. Check `document.activeElement` while the modal sheet is open. Expected: Focus enters the active modal sheet and does not remain on a background file row. Actual: The real-server accessibility run found the Share dialog open while focus remained on the `Audit folder` row in Paper. It found Quick Look open while focus remained on the `Audit note.txt` row in Paper and Tokyo Night. Evidence: `artifacts/bash-chrome/a11y-files/overlay-focus-findings.txt`. Severity: major.
Author
Owner

Follow-up from #1222: the reported Share/Quick Look focus escape was a probe timing false positive. The A11Y check now waits two animation frames for OverlaySurface's initial-focus handoff before it inspects a modal. On the production build with macOS emulation, Share and Quick Look kept focus in their visible modal at 1440 px in Paper and 390 px in Tokyo Night; axe reported zero serious or critical findings. I could not reproduce the focus escape after the handoff. I made no product focus change; leaving this issue open for owner review.

Follow-up from #1222: the reported Share/Quick Look focus escape was a probe timing false positive. The A11Y check now waits two animation frames for OverlaySurface's initial-focus handoff before it inspects a modal. On the production build with macOS emulation, Share and Quick Look kept focus in their visible modal at 1440 px in Paper and 390 px in Tokyo Night; axe reported zero serious or critical findings. I could not reproduce the focus escape 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#1322
No description provided.