Search: Group counts violate the result listbox role #1331

Open
opened 2026-10-07 06:34:36 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Open Files with one or more real Notes or Files indexed.
  2. Open Search with Cmd+K on macOS (Ctrl+K on other platforms), without entering a query.
  3. Run axe rule aria-required-children on the Search surface.

Expected: The listbox contains valid options and group headings that follow the listbox content model.
Actual: Axe reports aria-required-children on #search-results: Element has children which are not allowed: span[aria-label]. A 1440 px real-server probe shows seven role=option children and the finding persists after 1.5 seconds. The offending span is the visible group count nested in a presentational row.

Evidence: artifacts/bash-chrome/search-listbox-group-count-1331/evidence.txt.
Severity: major.

Steps: 1. Open Files with one or more real Notes or Files indexed. 2. Open Search with Cmd+K on macOS (Ctrl+K on other platforms), without entering a query. 3. Run axe rule `aria-required-children` on the Search surface. Expected: The listbox contains valid options and group headings that follow the listbox content model. Actual: Axe reports `aria-required-children` on `#search-results`: `Element has children which are not allowed: span[aria-label]`. A 1440 px real-server probe shows seven `role=option` children and the finding persists after 1.5 seconds. The offending span is the visible group count nested in a presentational row. Evidence: `artifacts/bash-chrome/search-listbox-group-count-1331/evidence.txt`. Severity: major.
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#1331
No description provided.