Skip to content

Nightly a11y gate: Day and Week on a computer, reflow at 320 px, the rail's account name - #2214

Queued
pixari wants to merge 4 commits into
mainfrom
fix/nightly-1947
Queued

pixari wants to merge 4 commits into
mainfrom
fix/nightly-1947

Conversation

@pixari

@pixari pixari commented Nov 28, 2026

Copy link
Copy Markdown
Member

What and why

Refs #1947. The nightly has failed since 2026-11-23. In the last two runs (11-27 and 11-28) only the accessibility gate (A11Y_ONLY=1, 20 px text, en and de) failed, on all four shards. Every finding reproduced locally and came from a real product bug:

  • Day and Week empty on a computer (NAV timeout, day/week 1280 px de). Since Phone UI: a floating tab bar, Today at a glance, Upcoming's week and a fresher look #2179 (in 1.11.0), useTabBarRoom publishes innerHeight - top as --tab-bar-h. From 48 rem up the tab bar is mounted but hidden, so its box sits at top 0 and the room came out as the whole window (900 px). #content kept that much bottom padding, and .page-fill (the calendar's Day and Week) ended up 0 px tall, so only the header showed. English passed only because its ready signal is main. Now a bar that is not drawn publishes 0px, and there is a unit test for it.
  • Reflow at 320 px (M18):
    • help/help-guide de: the version line was whitespace-nowrap. It now wraps.
    • panel-history: the phone header's lead (Back with the project name) was shrink-0. It now gives way before the stepper and menu, and the label truncates.
    • settings-notifications de: "Benachrichtigungen" at the display size didn't fit. The phone's large title now uses break-words hyphens-auto.
    • habits: seven 44 px buttons and 50 px rings didn't fit in 290 px. The days now share the row (min-w-0! beats the global touch minimum), and the rings scale down to the button width with max-w-10. At 360 px and 16 px text nothing changes.
    • when-popover (found by our full local run, not in CI's list): the Due time row now wraps its time zone chip.
  • note 1280 px M1 label-content-name-mismatch: in the collapsed rail the account menu is named "Account menu for Ada Lovelace", but axe counted the avatar's aria-hidden "AL" as visible text. Decorative avatar initials are now drawn from data-initials with ::before. They look the same, and the two tests that read the initials' text now read the attribute.

We skipped the earlier perf failures (11-24 to 11-26: push wait behind compaction, completing a task in the 2,000-row list on the phone, compaction of the notes fixture). They passed on 11-27 and 11-28, and this PR does not touch them.

Two changelog fragments are under changelog.d/Fixed/.

Checklist

  • Behaviour changes start as an OpenSpec change (openspec/changes/<name>/), or this PR has none (bug fixes that restore specified behaviour)
  • One change per pull request; the relevant parts of make check pass locally (typecheck, web-lint, ui-lint, repo-check, i18n-check, vitest)
  • Commits credit every author, AI tools included, with a Co-Authored-By trailer
  • Data writes go through ops (no direct task/project row writes)
  • New API routes are registered with a policy in internal/httpapi/policy.go (none)
  • No telemetry, no new third-party requests, no new mandatory env vars
  • Docs updated and a changelog entry added as changelog.d/<Section>/<name>.md; no new dependencies
  • Templates only (n/a)

Checks: the full nightly accessibility gate (4 shards, widths 360, 768 and 1280, en and de, TEXT_SIZE=20) reports 0 findings locally. The full vitest suite passes (1 failure fixed afterwards and that file rerun).


Generated by Claude Code

…rail's account name (#1947)

- A tab bar that is not drawn (from 48 rem up) publishes no room: its empty
  box at the top of the screen read as the whole window, so the content kept
  the window's height as bottom padding and the calendar's Day and Week
  (.page-fill) had no height on a computer since 1.11.0.
- Reflow at 320 px with 20 px text (M18): the phone's large title breaks a
  long word, the Help version line wraps, a phone header's lead (Back with
  its label) gives way before the actions, and Habits' seven days and rings
  share the row.
- Decorative avatar initials are drawn with CSS, so the collapsed rail's
  account menu ("Account menu for Ada Lovelace") holds no visible text its
  name leaves out (axe label-content-name-mismatch).

Refs #1947

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0187cnkXBm72ZSggGvrvUMKW
The full accessibility gate run locally also found the phone date sheet's
Due time row 3 px too wide at 320 px with 20 px text: the time field and the
time zone chip sat on one line that could not wrap.

Refs #1947

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0187cnkXBm72ZSggGvrvUMKW
…-calendar-empty from #2209)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0187cnkXBm72ZSggGvrvUMKW
@pixari
pixari marked this pull request as ready for review November 28, 2026 17:45
@pixari
pixari enabled auto-merge November 28, 2026 17:45
@pixari
pixari added this pull request to the merge queue Nov 28, 2026
Any commits made after this event will not be merged.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants