App shell: Empty Search listbox has no required options #1319

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

Steps to reproduce:

  1. Open /files in the production web build.
  2. Open Search with Cmd+K (Meta+K on macOS) and leave the query empty.
  3. Run the axe accessibility scan.

Expected: The empty Search state has valid listbox semantics and has no serious or critical accessibility finding.

Actual: Axe reports aria-required-children (critical) on #search-results when the empty palette is open. The real-server scan reproduced this in both Paper and Tokyo Night.

Evidence: artifacts/bash-chrome/a11y-files/search-palette-empty-a11y.txt.
Severity: major.

Steps to reproduce: 1. Open /files in the production web build. 2. Open Search with Cmd+K (Meta+K on macOS) and leave the query empty. 3. Run the axe accessibility scan. Expected: The empty Search state has valid listbox semantics and has no serious or critical accessibility finding. Actual: Axe reports aria-required-children (critical) on #search-results when the empty palette is open. The real-server scan reproduced this in both Paper and Tokyo Night. Evidence: artifacts/bash-chrome/a11y-files/search-palette-empty-a11y.txt. Severity: major.
Author
Owner

Fixed in dcdec22a1. Search now keeps the combobox controls ID stable and hides the results listbox while it has no options. Its real empty-state copy stays visible. Added a real-server axe regression across 390/820/1440 px, Paper/Tokyo Night, reduced motion and macOS shortcut emulation.

Focused output:
PASS Search empty listbox 390px light
PASS Search empty listbox 390px dark
PASS Search empty listbox 820px light
PASS Search empty listbox 820px dark
PASS Search empty listbox 1440px light
PASS Search empty listbox 1440px dark

Fixed in `dcdec22a1`. Search now keeps the combobox controls ID stable and hides the results listbox while it has no options. Its real empty-state copy stays visible. Added a real-server axe regression across 390/820/1440 px, Paper/Tokyo Night, reduced motion and macOS shortcut emulation. Focused output: PASS Search empty listbox 390px light PASS Search empty listbox 390px dark PASS Search empty listbox 820px light PASS Search empty listbox 820px dark PASS Search empty listbox 1440px light PASS Search empty listbox 1440px dark
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#1319
No description provided.