Skip to content

feat(a11y): the atlas widget can be used with a keyboard and a screen reader - #435

Merged
sydevs-bot merged 18 commits into
mainfrom
claude/feat-432-widget-a11y
Nov 20, 2026
Merged

sydevs-bot merged 18 commits into
mainfrom
claude/feat-432-widget-a11y

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Every control the widget draws is now named, reachable, focus-visible and answers to a 44px tap, and a browser gate in CI refuses a change that breaks one.
  • The first run returned 131 axe violation nodes and 206 tap targets under 44px; the diff is what closed them.

Change outline

Files — the gate, and the one mechanism the fixes needed

scripts/
  check-a11y.mjs            NEW  the gate: a local server, Chromium, three checks per story
  check-a11y.test.ts        NEW  its arithmetic, in the unit lane
  _mime.mjs                 NEW  the media-type table both local servers now share
  serve-embed-review.mjs         keeps its own server, loses its copy of that table
src/hooks/
  use-opener-restore.ts     NEW  where a dialog gives focus back to, for both dialogs
src/components/organisms/Mapbox/
  geocoder-dom.ts           NEW  both geocoder DOM repairs, in one observer
  aria-live.ts              GONE folded into it
  combobox-expanded.ts      GONE folded into it
.github/workflows/ci.yml         a step in `gate`, after `pnpm ladle:build`

Flow — what the gate asks of every story

run()                                              scripts/check-a11y.mjs
  serveDirectory(build/)                           cache headers on /assets/*, axe at /__axe-core.js
  for each of 52 stories
    goto ?story=<id>&mode=preview
    settled(page)                                  DOM quiet 250ms, then fonts, then a frame
    pageAudit(page)                                one evaluate, three answers
      axe.run                                      rule set, minus `region` + `landmark-unique`
      probe each control                           elementFromPoint, outward from its centre
        off the viewport → unmeasured, named, warned, never failed
      stamp document order, record resting paint
    keyboardWalk(page)                             one Tab per control the page offers
      order went backwards?                        tab-order
      stop invisible?                              focus-hidden
      paints nothing when focused?                 focus-indicator

Behaviour — how a control reaches 44px, and why not one way

The tap floor is one default with three named defeaters. src/components/AGENTS.md carries the decision procedure; the gate measures the result by hit test, so none of it can be asserted from a class list.

 default: an invisible 44px ::after             `touch-target`, (pointer: coarse) only
   Button, Link, Chip close, Slider thumb, settings cog, carousel pause, Clear, …
+  ⚠ `overflow: hidden` CLIPS it — CopyField's `truncate` moved to an inner span
+drawn height instead, where the ::after cannot work
+  an <input> renders no pseudo-element      fieldChrome, the geocoder's own input
+  flush items take each other's area         ToggleGroup, +1px for the collapsed border
+  react-share sizes its button off the icon  ICON_SIZE 40 → 44, on every device
+room instead, where two areas met
+  a drawer header's controls, a filter group's Clear, a radio group's reveal link

Contract — what a host can observe

 docs/embedding.md § Accessibility
   the widget is a labelled `role="region"`, with its own lang and dir
+  the place-search field is a named `search` landmark
+  every control: reached by Tab in order, focus ring, never a stop while invisible
+  every control: named in the page's language, icon-only included
+  every control: answers to 44 × 44 CSS px on a touch screen
+  checked on every change, in a browser, over every component in the library
+  cost: a few rows taller on touch; one control (share icons) 44px on every device
+  NOT the map's own two controls — locate 32px, attribution 24px, neither checked

Behaviour — closing a dialog

Radix restores focus to a Dialog.Trigger, and neither of this app's dialogs has one.

 close a dialog
-  Radix onCloseAutoFocus → preventDefault, focus the trigger it does not have → <body>
+  ReportIssueModal's own handler         the opener captured at CLICK time
+    took it? → done                      survives a menu item unmounting first
+  useOpenerRestore.restoreFocus          the opener recorded while the dialog was CLOSED
+    recorded on the widget root, never document    Safari/Firefox focus no button on click
+    never the dialog's own panel                   the × is still focused as this re-runs
+    never during the dialog's render               a discarded render re-reads it too late

Preview

The app and the library both deploy previews. Neither address exists until this PR's first CI run and the design Worker's branch build, so there is nothing to link yet — preview pending. Every change here is visible in the component library rather than in the app's data, so the library is the one to open:

  • the component library, this branch's build — the pages the gate measures
  • Views / Filter, Views / Calendar, Molecules / Share Content — the three surfaces that gained room on a touch screen

Test results

  • Lean gate: ✓ .claude/skills/pr-prep/check.sh — lint, typecheck, pnpm test:run (2126 passed)
  • Full gate: ✓ --full — pnpm build and pnpm size both pass
  • Accessibility gate: ✓ pnpm ladle:build && pnpm test:a11y — 52 stories, 655 controls, clean, against a real build (re-run on this revision)
  • Build: ✓

Manual verification

  1. Escape and focus return, in a browser. Open Atoms / Modal, Tab to Open modal, press Enter, press Escape — focus must come back to Open modal. Same for Atoms / Drawer. Measured here in Chromium at 390×844; the jsdom specs assert the focus call, not where focus settles, and docs/testing.md says why.
  2. The map's own controls. The gate walks the component library, and Organisms / Mapbox renders its needs-a-key notice without VITE_MAPBOX_ACCESSTOKEN, so the locate and attribution controls were not measured. Open the app with a token and check the focus ring on each against the basemap.
  3. A real phone. The 44px areas are measured by hit test in a headless browser with a coarse pointer emulated. A finger on a real device is the thing that was being approximated.
  4. The registration form's spam check. It now leaves the tab order while collapsed. Submit the form once and confirm the challenge still appears, takes focus, and solves.

Notes for reviewer

  • The gate is a step inside gate, not a job. The ruleset requires that job's check by name, so this blocks from the day it lands; a new job would report a check nothing requires until someone edits the ruleset in a browser. Keeping the job's name: byte-identical matters for the same reason.
  • It costs about 28s over 52 stories, plus a Chromium install that is now cached on ~/.cache/ms-playwright. It was ~180s before the review passes; the write-up of where that went is in the refactor(a11y) commit.
  • axe ships target-size and this gate does not enable it, which is deliberate and stated in the script: that rule measures getBoundingClientRect, so it cannot see the invisible area the widget's small controls grow, and would fail every one of them while passing a 44px control an overlay covers.
  • Two axe rules are off — region and landmark-unique — both because a story page is one component in a bare div, or a catalogue of six of them. Everything axe enables by default stays on.
  • The gate caught one of my own regressions mid-review: removing touch-target from the Button base, on the argument that the drawn pointer-coarse:h-11 made it redundant. It is redundant for height and not for width — a sm button reading "sm" draws 43px — and the probe said so.
  • The map's own controls are now stated as excluded, rather than promised. docs/embedding.md and CHANGELOG.md name the two that exist, give each measured size against mapbox-gl 3.35.0, and say the gate cannot reach either — the story renders a needs-a-token notice. They stay manual verification step 2.
  • Judgement call worth a second opinion: one contrast root cause got two different fixes. A step-11 text colour is guaranteed against ramp steps 1–2 only, and a primary-11 link on a step-3 tint measures 4.36:1. StorySection fixed the surface (gray-3 → gray-2); OnwardLink fixed the link (step 12), because it sits inside a neutral Alert whose tint is not mine to lighten. One mechanism would be better and I could not find one that did not reach across the Alert recipe.
Detail

Why a browser and not the unit lane. jsdom has no layout: a tap area cannot be measured and color-contrast resolves to nothing. Measured over the same 52 stories with the same axe configuration, counting violation nodes: jsdom 31, the browser 131, and the browser's 80 contrast and 24 label-in-name failures were not among the 31.

What the first full run found, and what closed it. 131 axe violation nodes and 206 tap targets under 44px. By rule: 80 color-contrast (a gray-10 count badge, an opacity-90 alert line, text-contrast link colour at 3.22:1, a gray-9 solid button carrying its own label at 3.24:1, a white-on-danger-9 selected state at 3.91:1), 24 label-content-name-mismatch (a copy button named without the URL it shows, weekday pills named Monday while reading Mon, a value-showing trigger, a tel: link named without its number), 14 button-name, 7 label, 4 aria-required-attr.

Rejected, with reasons.

  • A labelWithValue helper plus a closed-list spec, for the three places that join a label to a value. The evidence offered for it was that EventActions.tsx:135 is a live 2.5.3 defect; it is not — that control's visible label and its accessible name are the same string.
  • Sharding the 52 stories across pages. The suggestion came with "measure before committing"; at 28s the whole gate is no longer worth the contention risk.
  • Exempting the story grid's cells from the tap floor rather than padding them. These pages are read on a phone like any other, so they take the floor.

Measurements taken here, none of them checked by anything. The gate: ~180s → ~28s over 52 stories. Contrast, at 390×844 in Chromium: white on danger-9 3.91:1 both themes, near-black on it 4.82:1; gray-1 on gray-9 3.24:1 light and 3.7:1 dark, on gray-12 15.88:1 and 16.28:1; contrast-9 on the light background 3.22:1, contrast-11 6.28:1. jsdom spec stability: three dialogs in one file failed about one run in five, two about one in eight, one is 15 for 15.

A tool limitation worth recording. The --origin flag audits a running pnpm ladle instead of a build, which is the local fix loop. It is not how CI runs, and the script says so: a dev server compiles a story when it is opened, so a story that failed to build would pass by never having been built.

Closes #432

web-flow and others added 6 commits November 19, 2026 17:03
…rary

The widget's own views are what a visitor on wemeditate.com reaches, and
nothing the host repo can check reaches inside the custom element. This
adds the gate that does: axe-core, a tap-area probe and a keyboard walk,
over every story in the component library, in Chromium at phone size.

It is a browser and not a vitest file because jsdom has no layout: the
same axe configuration there found 23 of the 127 findings this one does,
and none of the 80 contrast failures.

The Button atom grows the invisible 44px tap area the gate measures.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
… sees

The gate measured each control by hit test at phone size. Three kinds of
defect came back: controls drawn under 44px with nothing around them, an
accessible name that dropped the control's own visible text (WCAG 2.5.3),
and muted text under 4.5:1.

Small controls grow an invisible 44px area rather than being redrawn, so
nothing moves on a desktop. Where two such areas met — a header's controls,
a filter group's Clear above its toggles — the later control took the shared
pixels and both measured short, so those rows gain room on a touch screen
instead. The toggle items are flush, so they take a drawn 44px.

The geocoder's own input claims `role="combobox"` and never said whether it
was expanded, so a screen reader was never told suggestions had appeared.
Our own code sets it, as aria-live.ts already moves the live region.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
The place-search field becomes a named `search` landmark, so a reader can
tell it from the results under it and the Filters dialog beside it. The
Checkbox atom gains the `aria-label` it had no way to take, which is what
left its own examples unnamed.

`pnpm test:a11y` joins CI's gate job, after `pnpm ladle:build` — a step
rather than a job, so the check the ruleset already requires is the one
that carries it.

The library's own pages are fixed too, not exempted: labelled demo fields,
a corner cell that is no longer an empty header, and the spacing a matrix
of controls needs once each one answers across 44px.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
Radix restores focus to a `Dialog.Trigger`, and the Modal atom renders
none — it is controlled through `open`. Its handler then prevents the
default and focuses nothing, so closing the "Report an issue" dialog put
a keyboard viewer back on the host page's `<body>`. Measured in Chromium
against the component library, and fixed as `CompactEmbedView`'s surface
already fixes it: the root records the opener while the dialog is closed.

Three details are load-bearing and each one was measured: the recorder
listens on the widget's root rather than `document`, it ignores anything
inside the dialog, and it cannot read focus during the dialog's own
render — a render React discards and repeats re-reads it after the trap
has moved focus, which made a first attempt pass one run in three.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
The review passes found the gate paying for work it did not need and the
focus fix written twice. Both are now one thing each.

`pnpm test:a11y` goes from ~180s to ~28s over the same 52 stories: the
static server sends cache headers so a 950KB shell is not re-fetched and
re-compiled on all 52 navigations, axe-core is served by URL instead of
inlined 52 times over the protocol, the resting paint is resolved for tab
stops rather than every element, and a flat 600ms sleep per story becomes
a wait on the DOM going quiet. The sleep was also masking a race: at a
fixed settle the calendar reported 28 contrast failures against a palette
it had not applied yet.

`useOpenerRestore` is the one implementation of the dialog focus
bookkeeping, for the Modal atom and the compact embed's surface alike.
Writing it once surfaced a third hazard neither copy had: the recorder
re-runs as a dialog closes, with the x that closed it still focused, and
recording that sends focus to a node already gone.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
The review read the installed `@mapbox/search-js-web` rather than the
module's premise, and the premise was wrong: `hideResults()` writes
`aria-expanded="false"` and the show path writes `"true"`. Only the
initial state is missing, so the module now seeds an input that has no
value and never writes again. As a second writer it would have overwritten
a correct `"false"` the moment anything else in the wrapper mutated, and
its own `hidden` test was a shape the library never produces.

Three more the review caught, each a defect this branch introduced:

- the contact link is pinned to 44px by the recipe's new coarse height,
  on exactly the phone where a long number has to wrap. tailwind-merge
  does not cancel a variant with an unprefixed class, so the skin relaxes
  it a second time.
- the challenge frame was given `tabindex="0"` on expanding rather than
  having the attribute removed, which is one tab stop more than before.
- a control resting against a viewport edge cannot be centred, so its
  probes fell off screen and it would have failed a required check for
  where it sat. The gate now counts those as unmeasured and says so.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZGN3GTmhtxyD8MEQ2
@sydevs-bot

sydevs-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running
CI fix 1
merge queue failed on 932ad12 · run

recent dispatches
  • 23:28Z resolve-conflicts · attempt 1 · session · done
  • 23:28Z resolve-conflicts · attempt 1 · session
  • 22:31Z fix-ci · attempt 1 · session · done
  • 22:31Z fix-ci · attempt 1 · session
  • 19:14Z address-review · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 19, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sahajatlas-design 95b0430 Nov 19 2026, 11:34 PM

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The diff is the size of #432 and no larger: every ticket bullet has code behind it, and the gate blocks rather than warns. The 44px work is the right shape — one default with three named defeaters, measured by hit test, with the decision procedure in src/components/AGENTS.md instead of in 60 class edits.

Two things to settle. The gate hand-rolls what @axe-core/playwright does — a static server, an axe route, two injection paths — and never says why; the 650 KB-over-CDP argument is a real answer, so write it beside axeTag. And docs/embedding.md now promises a host more than the gate measures.

Findings

  • should-fix — docs/embedding.md:1279: the map's own controls are promised the 44px floor and the gate, and get neither.
  • should-fix — MapSearch.tsx:125: a second MutationObserver on the subtree aria-live.ts already observes.
  • should-fix — use-opener-restore.ts:56: Radix's FocusScope already records the opener; was Dialog.Trigger asChild tried?
  • consider — ci.yml:65: the cache key hashes all of package.json, not the playwright version its comment claims.
  • consider — check-a11y.mjs:582: unmeasured is unbounded and cannot fail the gate.

What was checked

Read whole on the branch: check-a11y.mjs, use-opener-restore.ts, combobox-expanded.ts, aria-live.ts, _mime.mjs. Diffs read: ci.yml, package.json, both dialogs, Drawer.tsx, Button.tsx, ShareContent/, use-turnstile.ts, both stylesheets, both host-facing files. Ladder: _mime.mjs is an extraction with two callers, two modules are findings above, check-a11y.test.ts covers arithmetic. Contract: CHANGELOG.md and docs/embedding.md both carry the tap-floor and share-icon costs and name no CSP or Permissions-Policy change, which is right — nothing new is fetched.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread docs/embedding.md Resolved
Comment thread src/hooks/use-opener-restore.ts Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread scripts/check-a11y.mjs Resolved
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 19, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 19, 2026
The key was `hashFiles('package.json')`, while the comment beside it
claimed the pinned `playwright` version. Any dependency bump, any new
script, any version-field edit therefore re-downloaded ~170 MB of
Chromium on the critical path of the one required check, for a browser
whose version had not moved.

A step reads the version out of `package.json` and the key takes that
string, so only a playwright bump busts it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
`unmeasured` was a count in the run's one-line aside. The control that
lands there is the one whose centre sits within half the floor of a
viewport edge — a narrow control pinned to a corner, which is the shape
the floor exists to catch — so a number says nothing about whether the
floor quietly stopped applying to a story.

Each one is now named with its story, grouped like a finding, and a
warning annotation carries the count onto the run itself rather than
into a job summary nobody opens.

It stays a warning. A control the page has no room to scroll past is
pinned where it sits, and failing on that would red the gate for a
layout rather than for a tap area.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
The gate hand-rolls a static server, an axe route and two injection
paths, and the file never said what the published package does worse.
The answer is the same one the `url` branch beside it already rests on:
that package pushes axe's source through the debugging protocol into
every frame, which is the 650 KB this avoids, once per story. It also
audits only axe, while two of the three checks here need the page
regardless.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
`aria-live.ts` and `combobox-expanded.ts` each ran a `MutationObserver`
over the same node with the same options, started from the same effect
and torn down beside each other. Two subscriptions and two lifetimes for
one subtree is the duplication `aria-live.ts` already argues against for
patches: one change, not two.

`geocoder-dom.ts` holds both repairs in one callback, behind
`repairGeocoderDom`, and `MapSearch` now returns its single teardown.
Hoisting the region mutates `document.body`, and the seed writes an
attribute, so neither repair can re-enter the childList observer.

Both specs merge into one file, each keeping its own fixture and its own
argument. The two docs that named the old modules follow.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
The guide told a host that the map's locate, attribution and zoom
controls answer to 44 × 44 and are checked on every change. None of
that held. There is no zoom control; the attribution is exempt from the
tap floor outright; and the check drives the component library, where
the map renders its needs-a-token notice, so no map control is ever
loaded for it to measure.

It now names the two controls that exist, gives each one's measured size
against mapbox-gl 3.35.0, says why the attribution may not be resized,
and says why the check cannot reach either. The changelog entry carries
the same exception, since this is the one page an embedding site reads.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
The hook says Radix restores focus to a trigger neither dialog has. It
did not say why a trigger is unavailable, which is the first thing a
reader asks before deciding the hook is redundant.

All three openers are outside the dialog's own tree, one of them not
even React's, and Radix's recorded value is unreachable without a
trigger because `DialogContent` preventDefaults its own restore — read
off the installed bundle.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
The step reads a field out of `package.json` and writes it to
`$GITHUB_OUTPUT`. On a fork's pull request that file is unreviewed text,
and a newline inside the value forges further step outputs. It now
refuses anything that is not a plain three-part version, which also
catches the field going missing rather than keying the cache on
`undefined`.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
`docs/testing.md` listed what the gate probes and not what it does with
a control it cannot probe, which is now a named entry and a warning
annotation. `scripts/AGENTS.md`'s inventory of the unit-lane half
follows the second formatter.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjW4tPoPfSJvxHay7ib
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Six commits on the five threads and the review body, over a clean main merge.

Adopted

Rebutted — use-opener-restore.ts:56: no opener here can be a Dialog.Trigger, so Radix's record is unreachable. 0348d46

Lint, typecheck, 2126 unit specs; test:a11y re-run, 52 stories clean. Security review: no findings.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 19, 2026 19:37
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 19, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 19, 2026
The merge queue ran this branch against main and went red twice.

`SettingsMenu` takes `tv` from `tailwind-variants`, which main's lint rule
refuses: the package entry ships a second merge engine. The import arrived
here after that rule was written, so neither run could see it — this branch
predates the rule, and main has the file on `clsx`. It now takes the one
sanctioned import, `@/styles/tv`.

The embed graph then shipped 336.2 of 336 KiB. main leaves 0.2 KiB spare and
this branch adds 0.4, all of it in the injected stylesheet (141.0 → 141.4
KiB): the 44px tap areas, the row spacing they need to reach, and the
contrast fixes. The chunk count is unchanged at 8, so nothing became newly
eager and the `SENTRY_GAP_KIB` figures still hold at the count they were
measured at. `embed` is budgeted 338; `standalone` ships 335.1 and keeps 336.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXpXkctRV69SmZvKJ6
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 19, 2026
@sydevs-bot
sydevs-bot enabled auto-merge November 19, 2026 22:44
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 19, 2026
…t-a11y

CHANGELOG.md conflicted twice, both additive: main's #445 entry and this
branch's two #432 entries landed in the same `### Changed` position, and
their link definitions in the same place at the foot. Both sides kept,
ordered by descending PR number like the entries around them.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUuV5HDHKkDZZVCxFe
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Merged main in. One conflicted file, CHANGELOG.md, twice and both additive: #445's entry landed in the same ### Changed slot as this branch's two #432 entries, and its link definition in the same place at the foot. Both sides kept, ordered by descending PR number like their neighbours. No hunk had a second defensible reading.

Checked after the merge, because #445 rewrote the map layer this branch also touches: lean gate green (lint, typecheck, 2158 tests), pnpm build and pnpm size green — standalone has 0.9 KiB spare — and pnpm ladle:build && pnpm test:a11y clean over 52 stories, 655 controls.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 19, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 20, 2026
Merged via the queue into main with commit f315e96 Nov 20, 2026
27 checks passed
@sydevs-bot
sydevs-bot deleted the claude/feat-432-widget-a11y branch November 20, 2026 00:21
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 20, 2026
sydevs-bot pushed a commit that referenced this pull request Nov 20, 2026
Three resolutions:

- `src/views/shared.tsx` — keep both. #435's `role="search"` landmark on the
  wrapper, and this branch's controlled `value`/`onChange` on `MapSearch`, which
  is what stops half-typed text reaching `?q`.
- `scripts/check-bundle-size.mjs` — both sides raised the embed budget to 338
  from 336, so the figure stands and both history entries stay. Re-measured on
  the merge: standalone 335.5, embed 336.6, so 337.0 and 337.8 shipped, inside
  338 with 0.2 KiB spare on the embed.
- The five specs mocking `react-map-gl` now mock `react-map-gl/mapbox`. #445
  upgraded the library to 8, which publishes no root entry, so every one of them
  died at import.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjX8sHLcAAW89cXoi6P
sydevs-bot pushed a commit that referenced this pull request Nov 20, 2026
`main` gained #435 (the a11y gate and its 44px tap areas) and #451 since
049ff3c. Three text conflicts, both sides kept in each, and two breaks the
merge made that no conflict marker showed.

CHANGELOG keeps this branch's five entries and #435's five, in the file's
own descending order, and both link definitions.

`docs/testing.md` keeps #435's third-lane paragraph and this branch's
coverage paragraph. The "Three lanes" sentence is #435's and auto-merged.

`scripts/check-bundle-size.mjs` keeps both history blocks, and `embed` goes
back to 336 from #435's 338. That raise bought 0.4 KiB of generated CSS room
on a graph with 0.2 KiB spare; this branch leaves 44.0, so the raise buys
nothing and splits a pair the comment beside the constant,
`scripts/AGENTS.md` and the PR body all describe as held together at 336.
Both budgets pass either way — at 336 `embed` is 13.1% under, inside
`SLACK_RATIO`'s 15%.

#435 added `actions/cache@v4` to `ci.yml`, and this branch's new
`ci-workflows.test.ts` refuses a third-party action named by a tag. Pinned to
the commit `v4` points at, with its version beside it, like the other four.

#435 also added `pnpm test:a11y` as a step of the `gate` job, which the same
spec's "runs the lane once" assertion counted as a second vitest lane — it
matched any `pnpm test:*` step. It now keeps only the steps whose
`package.json` script runs vitest, so a second real lane still fails it.

Lean gate green on the merged tree with the build and `pnpm size`
(`check.sh --full`, exit 0). Eager payload, measured/shipped KiB:
standalone 289.7/290.9, embed 290.8/292.0, loader 2.8/3.3.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXf4EeQiCL8iF42zak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

The atlas widget can be used with a keyboard and a screen reader

4 participants