Repository navigation
SideNav: fix the blocking findings from the component audit (52.6 → 79.1) - #4880
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR New ComponentsNavItem (@astryxdesign/core)
Modified ComponentsSideNav (@astryxdesign/core) · View in Storybook
TopNav (@astryxdesign/core) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
|
On A15 (the focus ring) — deferred deliberately, blocked on #4654. SideNav items currently draw the browser-default focus ring rather than the house 2px accent outline. That is a real finding, but the fix should not be hand-rolled here: #4654 ( So the resolution for SideNav is to adopt Recording it so the next audit does not re-litigate it: A15 stays open against SideNav, blocked on #4654, and closes by adoption rather than by a local fix. It is advisory against this component regardless, since the focus treatment lives in the shared |
|
On the The audit reported this as T2 (a themeable surface dropped in the drawer modes). Re-verification showed that framing was wrong: no theme target is dropped.
A consumer wanting to style that surface should style Recorded so the next audit does not re-litigate it: this is accepted, not deferred and not unfixed. If it resurfaces as a finding, the answer is this comment plus the T14 scoping note in the rubric. The rules that do still apply on every path — a11y, i18n, tokens, and correctness — are unaffected by this and were graded normally. |
07c56b3 to
421fa1b
Compare
kentonquatman
left a comment
There was a problem hiding this comment.
There are a few visual issues with the popover menu in the collapsed SideNav. The menu appears to have a gray border with sharp corners inside the popover container that has rounded corners. The menu appears to have extra spacing on the left side. Also, the focus ring around the expand/collapse button appears much larger than the button itself.
The collapsed submenu flyout painted two surfaces. `usePopover` already paints the panel it renders into — `--color-background-popover`, a `--radius-container` corner and `--shadow-low` — and the content div underneath it added a 1px `--color-border` rectangle at radius 0, so the flyout showed square grey corners inside rounded ones. Every other popover consumer in core (DropdownMenu, TopNavMenu, Selector, TabMenu) leaves the chrome to the surface; SideNavItem and TopNavMegaMenu were the only two adding a border of their own. The same div carried `marginInlineStart: --spacing-1`. Inside the panel that is not a gap from the rail — it insets the content, leaving an unbalanced 4px strip down the flyout's inside edge with the painted panel poking out past it. The gap belongs on the positioned layer, which is where DropdownMenu puts its `popoverInlineGap`, so it moves there and becomes what it was always meant to be: 4px between the trigger and the flyout. The content lands on exactly the same pixel column as before (x=470 at a 900px viewport); what moves is the painted panel's left edge, from 4px behind the content to flush with it. Reported on #4880 by @kentonquatman. Pre-existing since #680 — the border predates `usePopover` gaining a default surface. Verified: 224 tests green across SideNav and TopNav; flyout geometry measured in real Chromium before and after (border 1px→0, content inset 4/0 → 0/0, panel radius 12px with no square inner rectangle).
The selected row marked itself with `--color-neutral`, a 6% background tint. `forced-colors: active` flattens backgrounds to Canvas, so that tint resolved to 6% of the canvas colour over the canvas — nothing. Measured in Chromium under emulated forced colors: the selected row and every unselected row came back with identical paint in both light and dark. The one state a nav has, unexpressed. It now paints `Highlight`/`HighlightText`, the pair ToggleButton and SegmentedControlItem already use, and holds it through hover and press. Three things this turned up that are worth writing down: - The hover fill has to be nested *inside* the hover media query, not written as a sibling `(hover: hover) and (forced-colors: active)` block. As siblings the two compile to single-class rules of equal specificity and `item`'s ordinary hover overlay won on source order, so hovering the current page erased its Highlight. Nested, StyleX emits a triple-class selector and it holds. - No `forced-color-adjust: none`, unlike the two components above. They are native form controls whose UA colours outrank an authored fill; a nav row resets `appearance` and paints its own background, so the system keywords land without it — verified on both the `<a>` and the `<button>` render path. It matters because the property inherits: set it and a Badge in `endContent` keeps its authored fill instead of being remapped to the user's palette. - A selected row's icon has to follow the row (`inherit`) rather than `--color-icon-primary`. The two are the same value in every generated theme — one expression emits both — but only `inherit` brings the glyph along to HighlightText. Left as `primary` the icon painted near-black on the Highlight fill: 1.6:1, measured off the pixels. With it: 11.3:1. Scored against §1 A14, deferred with FIX severity on #4880. Tests: 2 new, in the house pattern (`getForcedColorsRules`) that SegmentedControl and ToggleButton use — jsdom cannot render forced colors, so they assert the compiled rules and the rendered behaviour is measured in Chromium. 135 SideNav, 224 across SideNav and TopNav, 616 theme. lint:strict 0 errors, typecheck clean.
kentonquatman
left a comment
There was a problem hiding this comment.
The flyout menu looks better, but the expand/collapse button still looks off. The icon isn't centered inside the button, and the button is larger than the other footer actions (help and alerts). Can we fix that button before merging?
The collapsed submenu flyout painted two surfaces. `usePopover` already paints the panel it renders into — `--color-background-popover`, a `--radius-container` corner and `--shadow-low` — and the content div underneath it added a 1px `--color-border` rectangle at radius 0, so the flyout showed square grey corners inside rounded ones. Every other popover consumer in core (DropdownMenu, TopNavMenu, Selector, TabMenu) leaves the chrome to the surface; SideNavItem and TopNavMegaMenu were the only two adding a border of their own. The same div carried `marginInlineStart: --spacing-1`. Inside the panel that is not a gap from the rail — it insets the content, leaving an unbalanced 4px strip down the flyout's inside edge with the painted panel poking out past it. The gap belongs on the positioned layer, which is where DropdownMenu puts its `popoverInlineGap`, so it moves there and becomes what it was always meant to be: 4px between the trigger and the flyout. The content lands on exactly the same pixel column as before (x=470 at a 900px viewport); what moves is the painted panel's left edge, from 4px behind the content to flush with it. Reported on #4880 by @kentonquatman. Pre-existing since #680 — the border predates `usePopover` gaining a default surface. Verified: 224 tests green across SideNav and TopNav; flyout geometry measured in real Chromium before and after (border 1px→0, content inset 4/0 → 0/0, panel radius 12px with no square inner rectangle).
The selected row marked itself with `--color-neutral`, a 6% background tint. `forced-colors: active` flattens backgrounds to Canvas, so that tint resolved to 6% of the canvas colour over the canvas — nothing. Measured in Chromium under emulated forced colors: the selected row and every unselected row came back with identical paint in both light and dark. The one state a nav has, unexpressed. It now paints `Highlight`/`HighlightText`, the pair ToggleButton and SegmentedControlItem already use, and holds it through hover and press. Three things this turned up that are worth writing down: - The hover fill has to be nested *inside* the hover media query, not written as a sibling `(hover: hover) and (forced-colors: active)` block. As siblings the two compile to single-class rules of equal specificity and `item`'s ordinary hover overlay won on source order, so hovering the current page erased its Highlight. Nested, StyleX emits a triple-class selector and it holds. - No `forced-color-adjust: none`, unlike the two components above. They are native form controls whose UA colours outrank an authored fill; a nav row resets `appearance` and paints its own background, so the system keywords land without it — verified on both the `<a>` and the `<button>` render path. It matters because the property inherits: set it and a Badge in `endContent` keeps its authored fill instead of being remapped to the user's palette. - A selected row's icon has to follow the row (`inherit`) rather than `--color-icon-primary`. The two are the same value in every generated theme — one expression emits both — but only `inherit` brings the glyph along to HighlightText. Left as `primary` the icon painted near-black on the Highlight fill: 1.6:1, measured off the pixels. With it: 11.3:1. Scored against §1 A14, deferred with FIX severity on #4880. Tests: 2 new, in the house pattern (`getForcedColorsRules`) that SegmentedControl and ToggleButton use — jsdom cannot render forced colors, so they assert the compiled rules and the rendered behaviour is measured in Chromium. 135 SideNav, 224 across SideNav and TopNav, 616 theme. lint:strict 0 errors, typecheck clean.
ac50c9c to
3f5fc32
Compare
SideNavItem, SideNavHeading and the drawer modes of TopNavMenu, TopNavMegaMenu and TopNavMegaMenuItem styled no focus state at all, so a keyboard-focused nav row fell back to the browser's outline: measured 'auto 1px rgb(0,95,204)' in light and 'rgb(153,200,255)' in dark, the same blue in every theme because it is Chrome's and not Astryx's. Each focusable now composes focusOutlineProps.focusVisible, which is how the 26 components migrated in #4654 consume the one shared definition: 2px solid var(--color-accent) at the 3px offset Design Conventions documents. Measured after the change, the ring matches TabList, Button, Link and TopNavItem exactly, and tracks the theme (y2k rgb(45,36,27)). The ring is NOT written into navItemStyles.item. StyleX cannot compose a created style into another definition, so putting it there would mean restating the outline longhands in a sixth place -- the duplication #4654 exists to remove. The file header now says so. In the split-action path the row is a <div> holding two independent tab stops, so the link and the chevron each ring themselves and the row does not: focusWithin on the row would paint the same outline for either child, and TreeList's publish/read pair needs the focusable to be the ancestor of the drawing element, which it is not here. No consumer drew its own ring, so nothing double-rings -- checked by measuring all of them in Chromium before touching anything. TopNavItem already adopted the utility in #4654 and is left alone.
Twelve tests, all twelve red on the merge base. They assert composition rather than paint: jsdom does not derive :focus-visible from user-event's Tab on an <a>/<button>, so the rendered ring cannot be read back here. The classes are compared against stylex.props(focusOutlineStyles .focusVisible) instead of hardcoded hashes, so the assertion follows the utility if its declarations change. instead: there, unit tests asserting classes and published CSS variables stayed green while two components had lost their ring entirely.
The collapsed submenu flyout painted two surfaces. `usePopover` already paints the panel it renders into — `--color-background-popover`, a `--radius-container` corner and `--shadow-low` — and the content div underneath it added a 1px `--color-border` rectangle at radius 0, so the flyout showed square grey corners inside rounded ones. Every other popover consumer in core (DropdownMenu, TopNavMenu, Selector, TabMenu) leaves the chrome to the surface; SideNavItem and TopNavMegaMenu were the only two adding a border of their own. The same div carried `marginInlineStart: --spacing-1`. Inside the panel that is not a gap from the rail — it insets the content, leaving an unbalanced 4px strip down the flyout's inside edge with the painted panel poking out past it. The gap belongs on the positioned layer, which is where DropdownMenu puts its `popoverInlineGap`, so it moves there and becomes what it was always meant to be: 4px between the trigger and the flyout. The content lands on exactly the same pixel column as before (x=470 at a 900px viewport); what moves is the painted panel's left edge, from 4px behind the content to flush with it. Reported on #4880 by @kentonquatman. Pre-existing since #680 — the border predates `usePopover` gaining a default surface. Verified: 224 tests green across SideNav and TopNav; flyout geometry measured in real Chromium before and after (border 1px→0, content inset 4/0 → 0/0, panel radius 12px with no square inner rectangle).
The selected row marked itself with `--color-neutral`, a 6% background tint. `forced-colors: active` flattens backgrounds to Canvas, so that tint resolved to 6% of the canvas colour over the canvas — nothing. Measured in Chromium under emulated forced colors: the selected row and every unselected row came back with identical paint in both light and dark. The one state a nav has, unexpressed. It now paints `Highlight`/`HighlightText`, the pair ToggleButton and SegmentedControlItem already use, and holds it through hover and press. Three things this turned up that are worth writing down: - The hover fill has to be nested *inside* the hover media query, not written as a sibling `(hover: hover) and (forced-colors: active)` block. As siblings the two compile to single-class rules of equal specificity and `item`'s ordinary hover overlay won on source order, so hovering the current page erased its Highlight. Nested, StyleX emits a triple-class selector and it holds. - No `forced-color-adjust: none`, unlike the two components above. They are native form controls whose UA colours outrank an authored fill; a nav row resets `appearance` and paints its own background, so the system keywords land without it — verified on both the `<a>` and the `<button>` render path. It matters because the property inherits: set it and a Badge in `endContent` keeps its authored fill instead of being remapped to the user's palette. - A selected row's icon has to follow the row (`inherit`) rather than `--color-icon-primary`. The two are the same value in every generated theme — one expression emits both — but only `inherit` brings the glyph along to HighlightText. Left as `primary` the icon painted near-black on the Highlight fill: 1.6:1, measured off the pixels. With it: 11.3:1. Scored against §1 A14, deferred with FIX severity on #4880. Tests: 2 new, in the house pattern (`getForcedColorsRules`) that SegmentedControl and ToggleButton use — jsdom cannot render forced colors, so they assert the compiled rules and the rendered behaviour is measured in Chromium. 135 SideNav, 224 across SideNav and TopNav, 616 theme. lint:strict 0 errors, typecheck clean.
Two defects in the same control, both reported by @kentonquatman. **The button was bigger than its neighbours.** SideNav renders the built-in SideNavCollapseButton into the same flex row as whatever the consumer passes to `footerIcons`, and it hardcoded Button's default `md`. The shipped example puts two `sm` icon buttons beside it, so the row shipped as 32px, 28px, 28px. The house mechanism for this already exists — `SizeContext`, described in its own file header as the thing container components use to cascade a size to interactive children, and used by Toolbar, ButtonGroup and InputGroup. The four icon rows (footer, its collapsed rail form, the topbar strip, the drawer footer) now provide `sm` through it. That fixes the built-in button and any unsized child the consumer passes, and an explicit `size` on a child still wins, which is the contract `useSize` documents. SideNavCollapseButton also gains its own `size` prop. The cascade covers it inside the nav; the prop is for the out-of-tree placement, where it hangs off `handleRef` in a TopNav and has to match neighbours this component knows nothing about. **The chevron sat 2.42px high.** Its RTL-mirror wrapper is a flex item of Button's icon slot, so it blockifies to `display: block`, which gives it a line box 22.86px tall at the slot's 16px font — and the inline-flex glyph inside seats on that box's text baseline rather than its centre. Measured in Chromium, not reasoned about. Making the wrapper a flex container removes the line box; the glyph is then a flex item and centres exactly. Both neighbours measure 0.00 error too, so the row now agrees. Visual scope, from 52 before/after pairs (7 stories x neutral and y2k x light and dark, at rest and hovering the selected row): 44 identical at 0.000%, and the 8 that moved are all the one story that renders the built-in button, changing only inside the footer cluster. Measured after: all three buttons 28x28, all three glyphs centred to 0.00. Tests: 5 new; 3 of them fail on the code before this commit. lint 0 errors, typecheck clean, 412 tests green across SideNav, TopNav, Button, SizeContext, Toolbar, AppShell and MobileNav.
The six changesets were one release note split six ways — the audit pass, the focus ring, the hover-hook adoption, and the three visual fixes review turned up. One entry now, with the four consumer-visible changes called out together instead of scattered across files. Comments: the source blocks had drifted into narrating the investigation — measurements, "measured, not guessed", paragraphs restating what the code says. Cut to the part a reader needs, roughly halved. Also removes a stale comment on the split-action path that described an implementation (display:contents link, ::before row cover, z-index lift) the code has not used for some time, and the duplicate header under it. No behaviour change: 231 tests green across SideNav and TopNav, lint 0 errors, build clean.
3f5fc32 to
1f702e5
Compare
…t a store Review: the collapse state enters SideNav as a prop, so a button rendered outside the tree should read it as one too. `SideNavCollapseButton` now takes the same controlled `collapsible` object handed to SideNav, and the `subscribe`/`useSyncExternalStore` plumbing added for that case is gone — no listener set, no notify effect, no new imperative surface. `handleRef` still works exactly as it did before this PR, now deprecated in favour of `collapsible` on both components.
Conflicts were both in SideNav, from #4880's audit pass landing on the same lines this branch touched: - SideNavHeading popover heading button: keep main's focus-visible outline, keep this branch's close-only onClick (it is a dismiss affordance, not the trigger). - SideNav.test.tsx: both sides appended describe blocks; kept both.
#4880 landed SideNavItem on useMenuHover while this branch was rewriting it, wiring the pointer half only: its flyout is a focus-trapped dialog of links, not a menu of items, and usePopover owns focus there. - `ownsFocus` (default true) stops the hook suppressing the popover's auto-focus and reaching for a first item that flyout does not have. - SideNavItem opts out of the hover→click guard: its flyout opens beside the rail rather than over the icon, so the click after a hover-open is a dismissal, not the #3121 confirmation. - A real mouseleave now clears the reopen-suppression window, so a deliberate leave-and-return reopens immediately rather than waiting it out. - Its fireEvent clicks say `detail: 1`; a detail-0 click is Enter/Space to the hook, which always opens instead of toggling.
#4936) * fix(hooks): useMenuHover hover-then-click guard, synchronous focus, invoker wiring Consolidates the hover/click interaction the TopNavMegaMenu fix (#4555) solved locally into the shared hook, so every menu that opens on hover gets it. * refactor(core): put every hover menu on useMenuHover TopNavMegaMenu drops its private hover/click machine (#4555) for the shared hook; DropdownMenuSubMenu takes the guard through confirmHoverOpen and loses its rAF focus; the nav headings' in-popup dismiss affordances route through the hook's close so focus returns to the trigger. jsdom now reports (hover: hover) as matching, which is what a desktop browser reports — hover paths were unreachable in tests before. * test(core): cover the shared hover-menu contract and its a11y 19 hook tests through TopNavMenu plus per-component guard/focus tests for both nav headings and the dropdown submenu: who holds focus after each way of opening and closing, keyboard activation on an open menu, Escape restore, and that a device without a hover-capable pointer cannot be tricked into opening one. * fix(hooks): a closed menu no longer reopens under a stationary pointer Found in Chrome, not jsdom: a panel positioned over its own trigger (the nav headings) puts the trigger back under a pointer that never moved when it closes, and the browser fires a fresh mouseenter for that. With a zero show delay the menu reopened instantly, which made Escape and the in-panel close affordance look inert. Replaces the one-shot skip-next-mouseenter with a 300ms window after any close, so the enter caused by the panel vanishing is ignored while a deliberate re-hover seconds later still opens the menu. * fix(hooks): move close bookkeeping out of render; trim comments The reopen-suppression timestamp was taken during render, which the purity lint rule rightly rejects. It moves to a layout effect — which also has to land before the browser hit-tests the vanished panel, so it is the correct phase rather than just the legal one. Comments cut back to what the code cannot say. * fix(hooks): let a pointer-only consumer keep its own focus and toggle #4880 landed SideNavItem on useMenuHover while this branch was rewriting it, wiring the pointer half only: its flyout is a focus-trapped dialog of links, not a menu of items, and usePopover owns focus there. - `ownsFocus` (default true) stops the hook suppressing the popover's auto-focus and reaching for a first item that flyout does not have. - SideNavItem opts out of the hover→click guard: its flyout opens beside the rail rather than over the icon, so the click after a hover-open is a dismissal, not the #3121 confirmation. - A real mouseleave now clears the reopen-suppression window, so a deliberate leave-and-return reopens immediately rather than waiting it out. - Its fireEvent clicks say `detail: 1`; a detail-0 click is Enter/Space to the hook, which always opens instead of toggling.
#4880 landed SideNavItem on useMenuHover while this branch was rewriting it, wiring the pointer half only: its flyout is a focus-trapped dialog of links, not a menu of items, and usePopover owns focus there. - `ownsFocus` (default true) stops the hook suppressing the popover's auto-focus and reaching for a first item that flyout does not have. - SideNavItem opts out of the hover→click guard: its flyout opens beside the rail rather than over the icon, so the click after a hover-open is a dismissal, not the #3121 confirmation. - A real mouseleave now clears the reopen-suppression window, so a deliberate leave-and-return reopens immediately rather than waiting it out. - Its fireEvent clicks say `detail: 1`; a detail-0 click is Enter/Space to the hook, which always opens instead of toggling.


What this is
A hardening pass over
packages/core/src/SideNav/driven by the Component Audit Rubric. Every finding was re-verified against the source before anything was touched; several did not hold up as reported, and those are called out below rather than papered over with a fix.Score: 52.6 (F) → 79.1 (C), graded under rubric v1.2, mode O. Three deltas make up the difference and they are kept apart on purpose: 76.7 → 77.1 from two rubric corrections (a change of ruler, no code), 77.1 → 79.1 from this round's focus-ring fix, and a standing +1.2 sensitivity to the D12 sanction → 80.3 / B with zero BLOCKs open, also a ruler change. Only the middle one measures this round's code.
It landed in three rounds: the audit fixes; the
useMenuHoveradoption (C12) the first round deferred pending a decision on its behaviour change; and now the shared focus ring (A15), which was deferred waiting for #4654 to land the one definition to adopt. #4654 merged at 06:29 UTC today as041a0ef49, and this branch is rebased onto it.Rounds one and two changed no pixels — all 32 before/after pairs were byte-identical, which was the evidence that behavioural and semantic fixes had not disturbed the rendering. Round three deliberately does change pixels, in exactly one state: the focus ring. It has its own 32 before/after pairs and its own measurements, below.
If you review one thing, review this. A collapsed
SideNavItemwith children now opens its submenu flyout through the shareduseMenuHoverhook instead of its own timers, and three things about hovering that flyout are deliberately different afterwards:mouseentersynthesised by a tap or a passing finger scheduled a hover-open; the flyout could appear with no tap(hover: hover)— nothing is scheduled. Tapping still opens it, through click, unchangedmouseleaveon a flyout that was opened by clickingmouseenterre-opened it ~150 ms latermouseenterafter a click-close is skipped once. A deliberate leave-and-return still opens itUnchanged: the 150 ms open / 200 ms close hover-intent delays, hover-open still skips auto-focus (focus stays on the trigger), and every keyboard path — Enter/Space to open, focus into the flyout, Escape to dismiss, focus restored to the trigger. On a hybrid laptop (touchscreen and a mouse)
(hover: hover)matches, so hover keeps working there; the gate only removes hover from devices that have no hover to read.Consumers who relied on "the flyout closes when the pointer leaves, however it was opened" will see the click-opened case behave differently. That is the intended correction, not a side effect.
Round three touches
NavItem/navItemStyles.stylex.ts's consumers, not just SideNav. That is the point — A15 was advisory against SideNav precisely because the defect was shared — but it means this PR now changes the focus ring of five components:SideNavItemoutline: auto 1pxSideNavHeadingoutline: auto 1pxTopNavMenuoutline: auto 1pxTopNavMegaMenuoutline: auto 1pxTopNavMegaMenuItemoutline: auto 1pxTopNavItemNo consumer drew its own ring, so there is no double ring anywhere — checked by measuring every one of them before touching anything, not by reading the code.
TopNavItemis the control that proves it: it adopted the utility in #4654, it composites the samenavItemStyles.item, and its measured ring is byte-for-byte what the other four now produce.Desktop
TopNavMenu/TopNavMegaMenu/TopNavMegaMenuItemare not affected — those paths never usednavItemStylesand already had the ring.Scorecard — before (merge base, freshly graded under v1.2)
Scorecard — after
The 76.7 → 79.1 move splits into two unrelated things, and they are scored separately below: +0.4 from two rubric corrections that landed after the last pass (no code involved) and +2.0 from this round's focus-ring fix. Same discipline as the D12 ruler note.
Which sections were re-run in round three, and which were carried forward. Re-run: §1 (owns A15), §5b (the focus row of the state matrix, re-measured from pixels), §6 (12 new tests) and §2 (the ring now resolves from
--color-accent, so the theme-integrity read had to be re-taken — it came back unmoved, see below). Carried forward untouched, because a focus-outline adoption cannot reach them: §3, §4, §5a, §7, §8, §9, §10.2px solid var(--color-accent)at the documented 3px offset on every focusable surface in the family, measured in three themes. Held off 5 by A14 — noforced-colorsfallbacks — which §1's 5/5 anchor names explicitly ("reduced-motion and forced-colors honored").rtl:auditstill has no curatedtargets.jsonentry for SideNav. The other two reasons quoted last round have both gone away — see the rubric corrections.--color-accentthrough the shared utility, so it now tracks the theme (y2k resolvesrgb(45, 36, 27), neutral darkrgb(235, 235, 235)). But a theme target for the ring is deliberately not part of fix(theme): make shared focus outlines themeable #4654 —generateThemeRulesmangles:focus-visibleinto.focus-visibleand truncates:has(:focus-visible), so a target would only let a theme paint an unconditional outline. Themeability of the ring is a real gap; it lives in the theme layer, not in SideNav, and fix(theme): make shared focus outlines themeable #4654 is the foundation for closing it.Round two's re-runs, unchanged:
SideNavItementirely. That notify Effect is gone too, since review:SideNav.tsxnow runs no Effects at all. Held off 5 by the render-phase write tocollapseStateRef, which the deprecatedhandleRefpath still reads.display: none, anduser-event's tab skips it); andrtl:auditstill has no curatedtargets.jsonentry for SideNav.hover: none; the hook gates on(hover: hover)in the enabling direction, which is the correct one for hybrid machines.Ruler note — D12 changed after this PR was graded
The Component Audit Rubric gained a sanctioned exception to D12 on 2026-08-10: animating
grid-template-rowsbetween1frand0fris the accepted way to open a disclosure to an unknown height, provided reduced motion is honoured (this PR added that), the subtree is small (a nav group), and it is user-initiated and brief. The exception namesSideNavItem's collapsible group as its precedent.Applied, that closes the last open BLOCK: §5a 3.0 → 4.0 and the total 79.1 → 80.3 — a B, with zero BLOCKs open. It is kept out of the headline because it is a change of ruler, not of code, and folding it in would make the delta measure two different things at once. Two notes for whoever owns the rubric: the edit changes a severity scope, which by the rubric's own versioning rule is a minor bump, and it still reads
1.2— so a strict reader would call 79.1 and 80.3 incomparable. Say the word and I will publish 80.3 as the headline instead.§5b did not move in rounds one and two, and that was the honest result then — the visual defects found were deferred, and a hover-intent adoption is not visual. It moves in round three, because the focus ring is a visual defect and it is now fixed; the delta is broken out above.
Findings: verified → fixed or deferred
prefers-reduced-motionguardtransitionDurationcollapses to0sunderprefers-reduced-motion: reduce, matching the house pattern inCheckboxInput/layerAnimationsgrid-template-rows, a layout property`${label} submenu`usePopover({dialogLabel}))t('@astryx.sideNavItem.submenuLabel', {label}), ICU placeholder, key added toen.jsonwith a descriptionVisuallyHiddenSideNavSection, an inlinestyleclip block, now<VisuallyHidden as="div">themePropsisDisabled)disabled: isDisabled ? 'disabled' : nullon both call sites,statesupdated in the doc sothemingTargets.test.tsstays green...restnever captured onSideNavItemaria-*/data-testid/roleso precedence stays deliberate (P3)SideNavCollapseButtonrendered outside the sidenav takes the same controlledcollapsibleconfig SideNav gets, so the state the consumer already owns reaches it as a prop.handleRefbehaves as it did before this PR and is deprecated in its favour;SideNavImperativeCollapseHandleis unchanged. (An earlier revision addedsubscribe/useSyncExternalStoreto the handle; that was the wrong shape and it is gone.)useMenuHoveradopted; hover on collapsed items changes, see the callout at the topinertgroup, focus restored to the triggersize/asdoc prop driftasis documented and present;sizewas the reverse direction. Added to all three doc variantsalignSelf: 'stretch'fills the rowfocusOutlineProps.focusVisiblefrom #4654, on SideNav and on the four othernavItemStylesconsumersforced-colorsfallbacks; FIX severity for a shipped componentWhere the report was wrong
Asked for explicitly, so stated plainly.
X5a does not reproduce.
asis documented and present inSideNavItemProps, so there is no phantom prop;docPropReferences.test.tswould have been red if there were. The real defect runs the other way —sizeexists in source and was missing from the docs — which is X5b, severity FIX, and the rubric's Not yet in force table says X5b has no enforcer. Reporting it as an X5a BLOCK inflated the count by one blocker.A17 is in
SideNavSection, notSideNavItem.SideNavItemdoes have a<span hidden>used as anaria-labelledbytarget, but that is correct — a hidden element referenced byaria-labelledbystill contributes its name, and it should not be visually hidden-but-rendered. The actual hand-roll isSideNavSection's inlineposition/width:1/clip: rect(0,0,0,0)block.T2 is mis-framed, and the fix is a §3 fix. No themeable target was dropped in the drawer modes. In
drawermodeMobileNavpaints that surface and already carries its ownmobile-navtarget; stackingside-navon the same node would create exactly the specificity conflict T28 tells you to skip and flag. Indrawer-contentmode SideNav returns a fragment and paints nothing at all, so it owns no element that could carry a target. What is genuinely dropped is the consumer'sxstyle/className/style/...rest— a P2/P3 defect, not a theming one. Fixed fordrawer(forwarded toMobileNav, which merges them properly);drawer-contentis left open because the only way to carry them is a new wrapper element, which is a T14 style-only wrapper and a layout change.C12's severity is FIX, not BLOCK.
useMenuHoverdoes exist and is used bySideNavHeadingin the same folder (and byTopNavMenu,TopNavHeading,DropdownMenuSubMenu), so the finding is real. But C12 reads "BLOCK for a11y primitives; FIX otherwise", and hover intent is not one. It is now adopted, and two things about the adoption were not what they looked like: the hook is not a drop-in for the whole surface (its keyboard half is wrong for this flyout — see below), and the touch improvement is not an A8 fix (the flyout was always tap-reachable).A13 and D12 are two defects at one site, and after this diff only one of them is left — and it moves section. With the guard in place the remaining defect at
childrenCollapsibleis purely "a layout property is animated", which §5a owns, not §1.B15 and C11 are one defect. The stale button is the render-phase ref read. Per "consequences are scored at the root" it is scored once, in §7, and cross-referenced from §4.
Five findings were missing from the brief, three of them blocking-class: A10 (a 20 px interactive target), A2/X16 (the APG pattern named nowhere), A15 (browser-default focus ring — this one is in the ledger's
notes, and it is fixed in round three), D13 (hover ≈ selected — this one is in the ledger'sblocks.open), and the pressed state missing itsscale(0.98)signature. That last one has since been withdrawn as a false positive — the rubric now saysscale(0.98)is the button press treatment and a nav row takes the overlay alone; see the rubric corrections below.The ledger row itself is thin. It records
blocks.count: 12but lists only three of them, and nine of eleven sections areunpublished. Worth knowing before anyone treats 48.0 as a measured baseline.Evidence
Red before, green after — round one. Six of the first round's tests fail on the merge base and pass on this branch — verified by checking the base's source files back out under the new test file:
The i18n test asserts under the pseudo locale on purpose: a concatenated
`${label} submenu`produces the same English string as the catalog does, so only a locale swap can tell the two apart. The timer test assertsvi.getTimerCount() === 0after unmount, which is the actual C19 contract.The
useMenuHoverround — what changed and what it costSideNavItem's hand-rolled hover intent, itsclearPopoverTimeoutshelper and its unmount-cleanup Effect are gone, replaced by the hook'striggerPropsand the pointer half of itscontentProps. Net −18 lines of source. The two delays it used (150 ms / 200 ms) are the hook's defaults, so no timing changed.skipAutoFocuson the hover path survives the move: the hook callsshow({skipAutoFocus: true})from its hover timer and a bareshow()from its click handler, which is exactly the split this component wants — and there is now a test pinning it.The one thing that was not adopted.
useMenuHoveralso returnsmenuRefandcontentProps.onKeyDown, which are auseListFocusover[role="menuitem"]. This flyout has no menu items: it rendersSideNavItems as<a>/<button>inside a focus-trappedrole="dialog", and its keyboard behaviour comes fromusePopover's focus trap. Wiring that half would have made every arrow key inside the flyoutpreventDefault()with no item to move to — trading a hover bug for a keyboard bug. So only the pointer half is wired, which is exactly whatDropdownMenuSubMenudoes with the same hook and for the same reason;SideNavHeadingadopts it whole because its popup really does contain arole="menu". No keyboard behaviour changed in this round, and two tests hold that line: arrow keys inside the flyout stay unprevented and do not move focus, and Enter-open still lands focus on the first item with Escape restoring it to the trigger.Known cost, disclosed: the hook calls
useMediaQueryunconditionally, before its ownisEnabledshort-circuit, so everySideNavItem— including expanded ones that will never hover-open anything — now holds onematchMedialistener. It is cheap and every other consumer of the hook already pays it, butSideNavItemis the first consumer that can appear thirty times on a page. If that ever matters, the fix belongs in the hook (skip the query whenisEnabledis false), not here.Red before, green after — this round. Three of the nine new tests fail on the previous implementation and pass on this one (
SideNavItem.tsxreverted under the new test file):The other six pin behaviour that must not change: the 150 ms open delay,
mouseleaveclosing a hover-opened flyout, hover-open leaving focus on the trigger, arrow keys reaching the browser, the keyboard open/restore path, and the C19 timer-cleanup contract. That last one is the previous round's "does not open the hover popover after the item unmounts" test — it still assertsvi.getTimerCount() === 0after unmount, unchanged except that the hook now owns the cleanup it is checking.Each hover test stubs
matchMediafor the modality it is testing, because the shared setup polyfills a stub that matches nothing — which reads as a coarse pointer and would have made every hover assertion vacuously true.No new screenshots, and that is deliberate. This round changes event handlers only: no style module, no token, no JSX structure, no attribute. The rendered DOM of a collapsed item and its flyout is identical before and after, so a second set of 32 byte-identical pairs would be evidence of nothing. The 32 pairs from the first round still stand. What is visible to a user — when the flyout opens and closes — is behaviour, and it is covered by the tests above rather than by pixels.
Round three — the shared focus ring (A15)
What changed. Every focusable surface in the nav family that was styling no focus state now composes
focusOutlineProps.focusVisiblefromutils/focusOutline.stylex— the module #4654 added. Six source files, +25/−14 lines of source.The previous round's proposal in this PR was "add the ring to
navItemStyleswith a new--nav-item-focus-offsetvar registered inderivedVarRegistry.ts." That is superseded and was not built. #4654 settled both halves of it: there is one definition of the ring, and the offset is3pxfrom Design Conventions §User Interaction States, held in the shared module rather than in a per-family var. A new var would have been the sixth definition of a thing that had just been consolidated down to one.Where the fix went, and why not into
navItemStyles.item. The finding was routed tonavItemStylesbecause that is the shared file SideNav composites. But the ring cannot live insidenavItemStyles.itemwithout restating the outline longhands there —stylex.createcannot compose another created style into a definition — which is exactly the duplication #4654 removed. The house adoption pattern from #4654 is a call-site one (focusOutlineProps.focusVisible(...), 26 components), and all fournavItemStylesconsumers that #4654 already touched use it that way. So the fix is applied at the call sites, on whichever element actually takes focus, andnavItemStyles' file header now states the rule so the next person does not re-derive it.Every
navItemStylesconsumer, checked before and after. Measured by pressing realTabkeys in Chromium and readinggetComputedStyleondocument.activeElement— not by reading the source:SideNavItem<a>/<button>)1px autoUA2px solidaccent @3pxSideNavItem1px autoUA2px solidaccent @3pxSideNavItem1px autoUA2px solidaccent @3pxSideNavItem<div>SideNavItem1px autoUA2px solidaccent @3pxSideNavItem1px autoUA2px solidaccent @3pxSideNavHeading1px autoUA2px solidaccent @3pxTopNavItemTopNavMenu1px autoUA2px solidaccent @3pxTopNavMenu1px autoUA2px solidaccent @3pxTopNavMegaMenu1px autoUA2px solidaccent @3pxTopNavMegaMenuItem1px autoUA (by construction; not separately captured before — the red-before-green unit test is the evidence)2px solidaccent @3pxNo double rings. The check that mattered: does any consumer already draw its own ring, so that adopting the shared one would paint two? Measured before touching anything — no. Only
TopNavItemhad a ring at all, and it is #4654's own, so it is left alone. The other four drew the browser's.SideNavHeadingalso had UA-ringed surfaces that are notnavItemStylesconsumers but are unambiguously part of SideNav — the whole-heading link, the heading icon link, the inline heading link, the menu-trigger chevron and the popover heading rows. They are fixed too, because A15 reads "the focus ring is visible in every theme", and a component that rings six of its eleven focusables has not closed it.Measured ring geometry — the numbers are the evidence. I cannot look at an image, so the verification here is measurement, and it is stated as such: real Chromium, real
Tabkeypresses (no injected classes, no.focus()),getComputedStyleon the focused element, at 2560×1400 and 390×844, in neutral light, neutral dark and y2k. 124 focus stops measured after the change; 123 of them draw the ring below and the 124th isTopNavHeading(see Needs Review 7).The three things to read off that: the UA ring is 1px where the house ring is 2px; its offset varied by element (1px on links, 0px on buttons) where the house ring is a uniform 3px; and its colour did not move between themes —
rgb(0, 95, 204)in y2k is the same blue as in neutral light, because it is Chrome's, not Astryx's. The after column tracks--color-accentper theme, which is the actual substance of A15.Cross-checked against components that adopted in #4654, measured in the same run, so "matches the house treatment" is a comparison and not an assertion:
Screenshots — 32 new before/after pairs at the focus state, both viewports, three themes, both
SideNavand the other consumers, captured from two separate@astryxdesign/corebuilds (Storybook resolves the package todist/). Pixel diffs come out where they should and nowhere else:The 0.000% controls are the interesting half: they say the change is confined to the elements that were meant to move.
What did not fit #4654's utility cleanly — the split-action row. A collapsible item that also has an
hrefrenders a<div>row holding two independent tab stops, the link and the chevron toggle. None of the utility's four shapes is a clean fit:focusVisibleon the row is inert — the row never takes focus.focusWithinon the row rings the whole row whenever either child is focused, so Tab from the link to the chevron paints an identical outline twice in a row and you cannot tell which control you are on. Ringing the chevron as well would then paint two outlines at once.publishFocusVisibleVars+focusWithinOrPublished— TreeList's pattern — needs the focusable to be the ancestor of the element that draws (CSS variables inherit downward). Here the focusables are the row's children, so the vars cannot travel up.So each child rings itself with
focusVisible, and the row stays unringed. The cost, stated plainly: the link's ring hugs the link box (196×32 inside the row's 8px inline padding) rather than the row's full 244×32, so a focused split-action row looks slightly inset compared with a focused plain row. Both are the same 2px accent ring at 3px offset; only the box differs. The alternative — a row-level ring — trades that for genuine ambiguity between two tab stops, which is a worse a11y outcome than a 8px inset. A test pins the arrangement, including that the row wrapper does not carry the ring.One more thing #4654 does not give us, and it matters for how A15 is worded. The PR title says "make shared focus outlines themeable"; its body is explicit that the shared
astryx-focus-outlinetheme target was pulled, becausegenerateThemeRulesmangles pseudo-selector keys. So after this diff the ring resolves from--color-accentand therefore follows the theme's accent — which is what the A15 finding actually measured as broken — but a theme still cannot restyle the ring as a state through a target. That is a theme-layer gap tracked by #4654's own follow-ups, not a SideNav one, and §2 is scored accordingly (no move).Tests — 12 new, all 12 red on the merge base. Reverting only the six source files under the new test files:
What they assert is deliberately modest, and the comment in the file says so: jsdom does not derive
:focus-visiblefromuser-event's Tab on an<a>/<button>, so the painted ring cannot be read back in a unit test — #4654's own review is the cautionary tale, where the tests asserting classes and published variables stayed green while two components had lost their ring entirely. So these pin the composition (the focusable element carries the classes the shared utility compiles to, compared againststylex.props(focusOutlineStyles.focusVisible)rather than a hardcoded hash), and the paint is verified in the browser, above.Screenshots — 32 before/after pairs, real Chromium against Storybook. States: rest, item hover, focus-visible, selected, disabled, collapsed sidebar, collapsed + item hover (flyout), group expanded, group collapsed, hidden section header, nested items, drawer, drawer-content. Themes: neutral light, neutral dark, y2k (rest states). Both sides built from their own
@astryxdesign/coredist/, since Storybook resolves the package todist/.The 64 PNGs and three labelled contact sheets (
contact-sheet__{light,dark,y2k}.png) are captured and kept together; they are not committed, since the repo has no home for audit media and a 2 MB binary drop is not one. Say the word and I will attach them to the thread.§5b state-visual conformance matrix (mechanism judged, not pixels matched;
getComputedStylecomposited through the real ancestor stack as corroboration):transparentover the nav surface--color-overlay-hoveralpha tint over base: light#ffffff → #f2f2f2, dark#262626 → #313131; genuinely alpha, not an opaque fill--color-overlay-pressedpresent;scale(0.98)absent, which is correct for a nav row — see the rubric correctionaria-current="page"--color-neutralfill; ARIA backing ✓2px solid var(--color-accent)at3pxoffset, resolving per theme: lightrgb(38, 38, 38), darkrgb(235, 235, 235), y2krgb(45, 36, 27)disabled+aria-disabled, muted textaria-labelMobileNav;mobile-navtarget reachableOne failure left, down from three. The focus row is fixed at the root in round three; the pressed row was withdrawn when the rubric corrected it. What remains is D13 — hover and selected 1.02:1 apart in light — which still lives in the shared
NavItem/navItemStyles.stylex.tsthatSideNavItem,SideNavHeading,TopNavItem,TopNavMenu,TopNavMegaMenuandTopNavMegaMenuItemall composite. Per the rubric's shared-module rule it stays advisory against SideNav. It is not fixed here because, unlike the ring, it is an open visual-design decision (see Needs Review) rather than an adoption of something already decided.Other checks
pnpm a11y:audit -- --components SideNav— 14 stories, 0 violations,0 new / 0 resolved, baseline untouched (A18, V9).pnpm rtl:audit -- --filter SideNav— 0 fail, 0 surprise. Honest caveat: 14 of 14 pointer-metric checks came back N/A because SideNav has no curatedtargets.jsonentry, so this run is not real coverage. Logged as a §9 evidence gap (FIX), not a defect.@media (prefers-reduced-motion: reduce){…transition-duration:0s}.Two rubric corrections since the last pass, scored separately
Both landed in the wiki after this PR was last graded, both are changes of ruler rather than of code, and neither is mixed into the focus-ring delta. Together they are +0.4: 76.7 → 77.1.
§5b —
scale(0.98)is the button press treatment (2219b27, "State visuals: scale(0.98) is the button press treatment"). The rubric now reads "scale(0.98)is the button treatment — a self-contained control that depresses. Do not require it of other archetypes: a nav row, list item, table row or menu item takes the overlay alone, and shrinking a full-width row on press is wrong, not missing." The pressed row of the §5b matrix was reported as fail — advisory on exactly that missing transform. It was a false positive and is withdrawn. SideNav rows are nav rows; they carry--color-overlay-pressedand nothing else, which is now the documented correct treatment. The matrix row above is updated topass, and the finding is removed from the count. §5b 2.5 → 3.0.§6 — missing repo tooling is not a deduction (
777c51e, "Testing: compare visuals against Design Conventions; missing tooling is not a deduction"). "That is a fact about the harness, not a deduction against a component — a component cannot be marked down for tooling the repo does not have… the absence of a visual-regression suite, or of any other tooling the repo has not built, never holds a section off full marks." Last round held §6 at 4.5 on three gaps, and two of them are now inadmissible: "no VRT exists repo-wide" and "Tab containment inside the flyout cannot be asserted in jsdom (the popover polyfill leaves the contentdisplay: none)" are both missing tooling. The third is not:rtl:auditdoes exist and SideNav simply has no curatedtargets.jsonentry, which is a curation gap this component could close. So §6 stays at 4.5 — the correction removes two of three reasons but not the binding one. Adding thetargets.jsonentry would take §6 to 5.0 (+0.8); it is a separate change to a separate file and I have not smuggled it in here.The revised V15 also asks that a visual change be compared against Design Conventions through §5b's matrix rather than pixel-diffed for its own sake. Round three is a visual change, and that is how it is graded above: the focus row of the matrix, judged on mechanism and token signature.
Needs Review — decisions that are not mine to make
1. D13 — hover and selected are 1.02:1 apart in light. Measured composites: rest
#ffffff, hover#f2f2f2(--color-overlay-hover, α .05), selected#f0f0f0(--color-neutral, α .06). Hovering any row makes it look like the current page. Dark is fine (1.18:1). Both tokens are correct for their roles per T22, so this is not a wrong-token pick — it is that a 5% and a 6% black tint cannot express two different states. My proposal: move selection off "surface fill" to one of the other approved selection styles for nav — the edge/rail marker reads at a glance and does not compete with an overlay tint — or give selected a distinctly weightier fill. That is a visual design decision on a shared style module, and it is the last open item in the §5b matrix.2.
collapsedis not a theming state. The collapsed icon-only row is visually distinct but a theme cannot address it —themeProps('side-nav-item', …)carriessize,selectedand nowdisabled, but the collapsed variant is selected from render context, not a prop. Addingcollapsedwould be additive and safe; I left it out because it is new public theming surface, which is a call, not a correction.3.
drawer-contentstill drops the consumer's style props. See point 3 in "Where the report was wrong" — the only fix is a wrapper element, which trades a P2 defect for a T14 one.4.
data-testidsits on the row wrapper in the split-action path (P29 says it belongs on the primary interactive element). Pre-existing, and moving it would break any consumer selecting on it today, so it wants a deprecation, not a silent move.5. A14 — no
forced-colorsfallbacks. The selection fill and hover tint are background colours, which vanish underforced-colors: active, leaving selection unexpressed. FIX severity for a shipped component, and now the single thing holding §1 off 5. Same owner as 1 —navItemStyles.6. The collapsed flyout is a dialog of links, and arguably wants to be a menu. Surfaced by the C12 work rather than fixed by it.
useMenuHover's keyboard half drives auseListFocusover[role="menuitem"]; this flyout rendersSideNavItems as plain links and buttons inside a focus-trappedrole="dialog", so that half is deliberately left unwired (see "The one thing that was not adopted"). Giving the flyout real menu semantics would make arrow-key navigation work and let the hook be adopted whole — but it changes the announced role of a shipped surface and the DOM of every nested item, so it is its own PR with its own audit, not a rider on this one.7.
TopNavHeading's heading link still draws the UA ring —1px auto rgb(0, 95, 204), measured oncore-topnavmenu--default. It is the one focusable left in the nav family that #4654 did not reach, and it is not fixed here: it does not consumenavItemStyles, so it is outside this diff's blast radius, and widening the radius on the way past is how a focused PR stops being reviewable. One line, whenever someone wants it.Resolved since the first round: D12 (the collapse animation) — the rubric now sanctions the
grid-template-rowsdisclosure and names this component as the precedent; see the ruler note above. C12 (adoptuseMenuHover) — approved and done in round two. A15 (the focus ring) — #4654 landed the definition to adopt; done in round three.Why this is one PR
Round three (the focus ring) is here for the same reason round two was: A15 is a finding of this audit, it was deferred inside this PR with a named blocker, that blocker landed this morning, and the fix touches the same files. Splitting it out would mean a second branch editing
SideNavItem.tsxalongside this one, and a re-score that could not be attributed to either PR.The
useMenuHoveradoption arrived as a second round of commits on this branch rather than as its own PR: it was deferred here as "adopting it changes behaviour", that call has since been made, and the change lands in the same fifty lines ofSideNavItem.tsxthat the first round rewrote. Splitting it out would have meant a second branch racing this one over the same file for a −18-line diff. Its behaviour change gets its own callout at the top and its own changeset.The brief offered a split along a11y / theming / code-health lines. It would not have helped: nine of the eleven fixes land in
SideNavItem.tsxandSideNav.tsx, so three PRs would be three branches editing the same fifty lines, racing each other and each needing its own capture run. The diff is ~200 lines of source across five files plus tests, and every change is one row in the table above.Test plan
Re-run in full after round three, on this branch's head, rebased onto
041a0ef49.pnpm lint:strict— 0 errors, 48 warnings. That count jumped from 11 because the rebase brought in@astryx/no-nullish-jsx-guard(#3936), which now warns acrosscore. Four are in files this PR touches and all four are on lines it does not: the deliberate RTL-mirrorspaninSideNavCollapseButton(justified in a comment) and three!= nullguards inTopNavMegaMenu's desktop panel. Nothing this diff wrote warns.pnpm test— full suite 9664 passed, 9 failed (484 files). In isolation the touched suites are clean:SideNav.test.tsx133/133 (125 + 8 new),TopNav*.test.tsx91/91 (87 + 4 new). The nine:packages/clicases (component.test.mjs,hook-discovery.test.mjs) assert case-sensitive path resolution and cannot pass on a case-insensitive macOS filesystem — they fail identically with this diff reverted;TransferList/TransferListSelectorcases and two perf budgets (Table.perf,Markdown/parser.perf) — the load-sensitive timeouts already noted in earlier rounds;returns focus to the trigger when the collapsed submenu closes, whosewaitForon the layer's asynchronous focus restore timed out at 1392 ms under full-suite load. It passes 3/3 in isolation and passed in an earlier full-suite run on this same code. It is a timing flake in a test this PR does not touch, not a regression — the ring is a class, not focus behaviour. Say the word and I will give thatwaitForan explicit timeout in a separate commit; I have not tuned a test's timeout inside a focus-ring PR on my own initiative.pnpm build— green.pnpm a11y:audit -- --components SideNav— 14 stories, 0 violations,0 new / 0 resolved, baseline untouched.pnpm check:changesets— green; three changesets, all[fix], patch.pnpm check:sync,check:use-client,check:package-boundaries,check:cli-structure,check:demo-media,check:executable-bits— green.pnpm -F @astryxdesign/core typecheckandtypecheck:docs— green.dist/. Numbers above.