Skip to content

fix(templates): keyboard reach for the kanban board's info icons and the side-nav shell's conversation options - #12152

Merged
josephfarina merged 9 commits into
mainfrom
josephfarina/shell-side-nav-focus
Nov 18, 2026
Merged

josephfarina merged 9 commits into
mainfrom
josephfarina/shell-side-nav-focus

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Keyboard-reach fixes for two page templates, found by a keyboard-only pass over every ready page template and composition block.

User impact

kanban-board. Each column header had an info icon made of a Tooltip around a bare Icon. Tab stopped on that icon four times per board, though the icon was hidden from assistive technology and had no name, so screen reader users never got the hint. The icons now use InfoTip, which Core's Tooltip docs prescribe for an info icon.

shell-side-nav. Each conversation's options button rendered only while the pointer hovered the row, inside the conversation link. A keyboard user could not reach it at all. After a pick in its menu, or after its delete confirmation, focus fell to the page body because the button had unmounted.

Problem and solution fit

kanban-board. Each <Tooltip><Icon …/></Tooltip> becomes <InfoTip content={…} label="About <column>" />, a real, named button: Tab reaches it, hover and focus preview the help, Enter, Space or a click pins it, and Escape closes it with focus kept on the button. The unused icon import and its icon declaration go away.

shell-side-nav. The options menu moves from SideNavItem's endContent, which renders inside the conversation link, to its actions slot, which renders beside it, as the SideNavItem docs prescribe for interactive controls. The status dot stays in endContent, so the link keeps its name and status ("Weekend trip planning, Active"). The menu is always in actions, so the row never changes shape. Core's useContainerReveal shows it on hover, on focus anywhere in the row (:focus-within), and under a coarse primary pointer. It keeps the button mounted and in the tab order, and keeps it shown (forceState: 'active') while its menu is open. The row's hand-rolled hover state goes away. Tab moves from the conversation link to the options button, and focus returns to it after its menu or delete confirmation closes.

Expected behavior and authority

  • kanban-board: Core's Tooltip docs: "For an info icon, use InfoTip."
  • shell-side-nav: every control is reachable with Tab, focus returns to the trigger after a menu or dialog closes, and SideNavItem's docs put interactive row controls in actions, not endContent.

Visual changes (disclosed)

  • kanban-board: the four header icons now show the system's standard info glyph at InfoTip's size, slightly larger and darker than the outline icon before. At 1280 px the before and after screenshots differ only inside those four icons.
  • shell-side-nav: with actions always present, SideNavItem uses its actions-row layout. At rest each conversation link starts 8 px further in, and its status dot sits 8 px further toward the start. Nothing else on the page changes. On hover, the options button appears beside the status dot instead of replacing it. Under a coarse primary pointer (a phone or tablet), every options button shows at rest, since useContainerReveal keeps row actions visible for touch-first users. After a mouse click on a conversation, focus stays on its link, so that row's options button stays shown beside its status dot after the pointer leaves, until focus moves elsewhere.

Evidence

Real browser (Chromium, 1280 px), no page errors.

kanban-board

  • Before: Tab stopped on four hidden, unnamed icons.
  • After: Tab stops on "About To-do", "About In progress", "About In review" and "About Done". Enter shows the help, and Escape closes it with focus kept on the button.

shell-side-nav (a full Tab walk from the top of the page)

  • Main: Tab goes from one conversation link straight to the next; the options button is never reached.
  • With the menu swapped into actions only on focus (an earlier revision of this pull request), each link was re-created when it took focus, so the walk dropped to the page body after each options button.
  • This head: the walk goes link, "Conversation options", next link, and so on, with no stop on the body. The focused link reads "Weekend trip planning, Active". After a menu pick focus is back on the options button. After Delete the confirmation opens, and Escape returns focus to the button. Hover shows the button.

Replay

A replay of build on this pull request's head against its main base moves no start, alternative or block list. The template icon declarations test passes.

Scope

Components: kanban-board and shell-side-nav page templates

  • One defect class is restored (keyboard reach and focus) in each template. Kanban cards still reorder within a lane only by pointer drag; that is out of scope here.
  • Separable contradictory or unsettled tagalongs were removed or split.
  • No new public API, visual representation, default, or interaction model is hidden under the bug-fix label.
  • Public text and artifacts contain no internal Meta context.

Testing

  • prettier, eslint and a strict typecheck on both changed pages: clean.
  • vitest run packages/cli/test/template-icon-declarations.test.mjs: passes.
  • Real browser (Chromium, 1280×800), as under Evidence.

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 17, 2026 9:29pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 16, 2026
@astracat-bot

astracat-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 17, 2026, 9:38 PM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ef2077c

@josephfarina josephfarina changed the title fix(templates): the side-nav shell's conversation options are reachable by keyboard and keep focus fix(templates): kanban board and side-nav shell work fully from the keyboard Nov 16, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 5112222

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 584a1db

Storybook · Sandbox · built from this PR's head

Package size: @astryxdesign/cli 5.37 MB packed (+81 B); no new dependencies.

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.


Generated by PR Enrichment workflow | View full report

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8f9ea9b

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Requesting changes. The side-nav fix does reach the options menu, but the menu now takes focus inside the conversation link, and two claims say more than the change does.

  • The shell-side-nav options menu stays in SideNavItem's endContent, which renders inside the conversation link, so a focused link is announced as "Weekend trip planning Conversation options" and loses its status; render the menu through actions and keep the StatusDot in endContent.
  • The changeset and title say both templates "work fully from the keyboard", but kanban cards still reorder within a lane only by pointer drag; reword them to describe the keyboard-reach fixes.
  • The description says nothing changes "under the pointer", but after a mouse click on a conversation the row keeps its options button and hides its status dot once the pointer leaves; amend that sentence.

The kanban InfoTip change works as described: Tab reaches a named "About " button, Enter pins the help, and Escape closes it with focus kept. Focus also returns to the options button after a menu pick or the delete confirmation.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: the kanban column info icons become named buttons that keyboard users can reach and open. Verified (kanban-board/page.tsx:402; browser check).
  • Claim: before, Tab stopped on a hidden, unnamed icon, four times per board, and screen readers never got the hint. Verified (browser check on the base).
  • Claim: Core's Tooltip docs prescribe InfoTip for an info icon. Verified (Tooltip.doc.mjs:165).
  • Claim: InfoTip previews on hover and focus, pins on Enter, Space or click, and closes on Escape with focus kept. Verified (browser check).
  • Claim: the unused icon import goes away. Verified (kanban-board/page.tsx:38-47, template.doc.mjs:13-22).
  • Claim: before, the side-nav options button rendered only under hover, keyboard users could not reach it, and focus fell to the page body after a pick or the delete confirmation. Verified (browser check on the base).
  • Claim: the row also shows the options button while focus is inside it, and blur clears that only when focus leaves the row. Verified (shell-side-nav/page.tsx:135-155).
  • Claim: Tab moves from the conversation link to the options button, and focus returns to it after its menu or delete confirmation closes. Verified (browser check: keyboard pick, Delete then Escape, mouse pick).
  • Claim: the menu and the confirmation render inside the row, so the button stays mounted. Verified (browser check).
  • Claim: both templates work fully from the keyboard. False: in-lane reordering is pointer-only (kanban-board/page.tsx:555-622).
  • Claim: at rest and under the pointer nothing changes in the side nav. False for a clicked row (browser check).
  • Claim: the side-nav page is pixel-identical at rest, and on the kanban page only the four header icons change. Side nav verified (browser check); kanban verified from code, since only the icon element changes.
  • Claim: no new public API, default or interaction model, and no internal context in public text. Verified.
  • Claim: a build replay moves no recommendation. Consistent: the template's name, description and keywords are unchanged; the replay was not rerun.
  • Claim: prettier, eslint and a strict typecheck are clean. Verified: prettier and eslint pass on the changed files, and the CLI's strict typecheck reports nothing in either page.
  • File .changeset/keyboard-audit-templates.md: finding (claims full keyboard support).
  • File packages/cli/assets/templates/pages/kanban-board/page.tsx: clear (template rubric 67, unchanged from main, non-blocking).
  • File packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/shell-side-nav/page.tsx: findings (menu inside the link; click-held reveal).

Automated review (maintainer link)

Comment thread .changeset/keyboard-audit-templates.md Resolved
@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 16, 2026
@josephfarina josephfarina changed the title fix(templates): kanban board and side-nav shell work fully from the keyboard fix(templates): keyboard reach for the kanban board's info icons and the side-nav shell's conversation options Nov 16, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 9db8348

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Requesting changes. Moving the options menu to actions fixed the conversation link's name, but the new conditional slot makes keyboard focus fall off each conversation row.

  • Each Tab onto a shell-side-nav conversation link drops focus to the page body, because actions switches from null to the MoreMenu when the link takes focus and SideNavItem then replaces the link with a new one; keep actions filled on every render so the row never changes shape.
  • Miss: the row's own hasFocusWithin state and focus and blur handlers duplicate Core's useContainerReveal from @astryxdesign/core/hooks, which reveals row actions on hover and focus while keeping them mounted, so use it (with forceState: 'active' while the menu is open and the MoreMenu always in actions) and remove the hand-rolled hover and focus state.

One change to useContainerReveal fixes both. The earlier link-name, release-note and description points are resolved, and the kanban InfoTip change works as described.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules since the last review (0): none.
  • Claim: the title promises keyboard reach for the kanban info icons and the side-nav conversation options. Verified, with the focus drop on the way to the options (first bullet).
  • Claim: the kanban info icons become named buttons that Tab reaches and Enter opens, where before Tab stopped on a hidden, unnamed icon four times per board. Verified (kanban-board/page.tsx:402; browser check on base and head).
  • Claim: Core's Tooltip docs prescribe InfoTip for an info icon. Verified (Tooltip docs and the Tooltip record).
  • Claim: InfoTip previews on hover and focus, pins on Enter, Space or click, and closes on Escape with focus kept. Verified in a browser at the earlier head; InfoTip and the kanban page are unchanged since.
  • Claim: the unused icon import and its icon declaration go away. Verified (kanban-board/page.tsx:38-47, template.doc.mjs:13-22; the icon declarations test passes).
  • Claim: before, the side-nav options button rendered only under hover, inside the link, keyboard users could not reach it, and focus fell to the page body after a pick or the confirmation. Verified (browser check on the base).
  • Claim: the menu moves to the actions slot and the status dot stays in endContent, so the link keeps its name and status. Verified (shell-side-nav/page.tsx:160-187; the focused link is named "Weekend trip planning Active").
  • Claim: the row also shows the options button while focus is inside it, and blur clears that only when focus leaves the row. Verified in code (shell-side-nav/page.tsx:147-155).
  • Claim: Tab moves from the conversation link to the options button, and every control is reachable with Tab. Holds only from an already focused link: each Tab onto a conversation link first leaves focus on the page body (first bullet).
  • Claim: the menu and the confirmation render inside the row, so the button stays mounted and focus returns to it when they close. Verified (browser check: keyboard pick, Delete then Escape).
  • Claim: the side-nav page is pixel-identical at rest; on hover the options button appears beside the status dot; a clicked row keeps its options button while focus stays in it. Verified (browser check).
  • Claim: on the kanban page only the four header icons change. Verified from code, since only the icon element changes.
  • Claim: in-lane card reordering stays pointer-only and is out of scope. Verified (kanban-board/page.tsx:357-370, :555-622).
  • Claim: no new public API, hidden visual or interaction change, or internal context in public text. Verified: no API change, the visual changes are disclosed, and no internal context appears.
  • Claim: a build replay moves no recommendation. Consistent: the templates' names, descriptions and keywords are unchanged; the replay was not rerun.
  • Claim: prettier, eslint, a strict typecheck and the icon declarations test are clean. Verified.
  • File .changeset/keyboard-audit-templates.md: clear.
  • File packages/cli/assets/templates/pages/kanban-board/page.tsx: clear (template rubric 67, unchanged from main, non-blocking).
  • File packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/shell-side-nav/page.tsx: findings (focus drop; duplicated reveal).

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 70e6ad8

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Requesting changes, for the description only. The side-nav reveal now uses useContainerReveal, which fixes the focus drop and the duplicated reveal from the last review, but two sentences in the description no longer match this head.

  • The Visual changes section says the side-nav page is pixel-identical at rest, but with actions always filled every conversation row gets SideNavItem's row wrapper, so all 12 status dots sit 8 px further inward at rest and, on touch-first devices, every row shows its options button at rest; please disclose both, or keep the dots where they were.
  • The description says the options button is tracked with focus and blur on the row, but this head has no focus or blur handlers and useContainerReveal shows the button in CSS on hover, focus inside the row and a coarse pointer; please describe that instead.

The kanban InfoTip change and the side-nav keyboard path both work as described.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules since the last review (0): none.
  • Claim: the title promises keyboard reach for the kanban info icons and the side-nav conversation options. Verified in Chromium on both pages.
  • Claim: before, Tab stopped on a hidden, unnamed kanban info icon, once per column. Verified (the base focuses an aria-hidden svg with no name; one per column of four).
  • Claim: Core's Tooltip docs prescribe InfoTip for an info icon. Verified (Tooltip docs and the Tooltip record).
  • Claim: each InfoTip is a named button that Tab reaches, that previews on hover and focus, that Enter, Space or a click pins, and that Escape closes with focus kept. Verified: Tab, Enter and Escape in Chromium ("About To-do"); hover, Space and click are InfoTip's own tested behavior, unchanged here.
  • Claim: the unused icon import and its icon declaration go away. Verified (kanban-board/page.tsx imports, template.doc.mjs icons; the icon declarations test passes).
  • Claim: before, the side-nav options button rendered only under hover, inside the link, keyboard users could not reach it, and focus fell to the page body after a pick or the confirmation. Verified on the base (no options button at rest, Tab goes link to link, a mouse pick ends on the body).
  • Claim: the menu moves to the actions slot beside the link and the status dot stays in endContent, so the link keeps its name and status. Verified (shell-side-nav/page.tsx:151-178; the focused link is named "Weekend trip planning Active").
  • Claim: the row shows the options button while focus is inside it. Verified.
  • Claim: that is tracked with focus and blur on the row, and blur clears it only when focus leaves the row. False (second bullet).
  • Claim: Tab moves from the conversation link to the options button, and every control is reachable with Tab. Verified (link, then options, then the next conversation, with no focus loss).
  • Claim: the menu and the confirmation render inside the row, the button stays mounted, and focus returns to it when they close. Verified (keyboard pick, mouse pick, and Delete then Escape).
  • Claim: on the kanban page only the four header icons change, slightly larger and darker. Verified (a 1280 px pixel diff changes only those four icons).
  • Claim: the side-nav page is pixel-identical at rest. False (first bullet).
  • Claim: under hover the options button appears beside the status dot, and a clicked row keeps its options button until focus moves. Verified.
  • Claim: a replay of build moves no start, alternative or block list. Verified over 16 related ideas; only the kanban page's score moves, not its rank.
  • Claim: in-lane card reordering stays pointer-only and is out of scope. Verified (cards reorder only through pointer handlers).
  • Claim: no new public API, hidden visual change, default or interaction model. No public API change is verified; the hidden visual change is false (first bullet).
  • Claim: public text carries no internal context. Verified.
  • Claim: prettier, eslint, a strict typecheck and the icon declarations test are clean. Verified.
  • Changeset claim: the kanban info icons are named buttons that Tab reaches and Enter opens, where before Tab stopped on a hidden, unnamed icon. Verified.
  • Changeset claim: the side-nav options button sits in the actions slot and shows while focus is in the row, so Tab reaches it; focus returns to it after its menu or delete confirmation; the link keeps its status in its name. Verified.
  • File .changeset/keyboard-audit-templates.md: clear.
  • File packages/cli/assets/templates/pages/kanban-board/page.tsx: clear (template rubric 67, unchanged from main, non-blocking).
  • File packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/shell-side-nav/page.tsx: code clear; its rest-state change is what the description misstates (both bullets).

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 5ea9afa

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Requesting changes, for the description only. The code is unchanged since the last review and works as intended, and the rewritten description fixes both earlier points, but one new sentence misstates when the side-nav options button shows.

  • The description says useContainerReveal shows the options button on hover and keyboard focus, but it reveals on any focus inside the row (:focus-within), so after a mouse click on a conversation its options button stays shown beside the status dot once the pointer leaves, a change Visual changes no longer mentions; please say it shows on hover, focus inside the row and a coarse pointer, and add the clicked-row case to Visual changes.
  • Miss: the comment at shell-side-nav/page.tsx:132-133 also says "keyboard focus"; this one is non-blocking, but product teams copy the template, so please fix it with the description.

The kanban InfoTip change and the side-nav keyboard path both work as described.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules since the last review (0): none.
  • Claim: the title promises keyboard reach for the kanban info icons and the side-nav conversation options. Verified in Chromium on both pages.
  • Claim: before, Tab stopped on each kanban column's info icon, four per board, though it was hidden from assistive technology and had no name. Verified (the base focuses an aria-hidden svg with no name, one per column).
  • Claim: the icons now use InfoTip, which Core's Tooltip docs prescribe for an info icon. Verified (kanban-board/page.tsx:402; Tooltip docs: "For an info icon, use InfoTip").
  • Claim: before, the side-nav options button rendered only under hover, inside the conversation link, keyboard users could not reach it, and focus fell to the page body after a pick or the delete confirmation. Verified on the base (no button at rest, Tab goes link to link, a mouse pick and Delete then Escape both end on the body).
  • Claim: each InfoTip is a named button that Tab reaches, that hover and focus preview, that Enter, Space or a click pins, and that Escape closes with focus kept. Verified: Tab, focus preview, Enter and Escape in Chromium ("About To-do"); hover, Space and click are InfoTip's own documented behavior, unchanged here.
  • Claim: the unused icon import and its icon declaration go away. Verified (kanban-board/page.tsx imports, template.doc.mjs icons; the icon declarations test passes).
  • Claim: the menu moves from endContent, inside the link, to actions, beside it, as the SideNavItem docs prescribe for interactive controls. Verified (shell-side-nav/page.tsx:151-178; SideNavItem docs).
  • Claim: the status dot stays in endContent, so the link keeps its name and status. Verified; the computed name is "Weekend trip planning Active".
  • Claim: the menu is always in actions, so the row never changes shape. Verified (no focus loss on any Tab).
  • Claim: useContainerReveal shows the button on hover and keyboard focus. False (first bullet).
  • Claim: the hook keeps the button mounted and in the tab order, and keeps it shown while its menu is open. Verified.
  • Claim: the row's hand-rolled hover state goes away. Verified.
  • Claim: Tab moves from the conversation link to the options button, and focus returns to it after its menu or delete confirmation closes. Verified (Tab walk link, options, next link, options; keyboard pick, mouse pick, and Delete then Escape by mouse and keyboard).
  • Claim: every control is reachable with Tab, and interactive row controls sit in actions, not endContent. Verified.
  • Claim: on the kanban page only the four header icons change, slightly larger and darker. Verified (a 1280 px pixel diff changes only four 16 by 15 px boxes).
  • Claim: at rest each conversation link starts 8 px further in and its status dot sits 8 px further toward the start, and nothing else changes. Verified (link 24 to 32 px, dot 292 to 284 px; the pixel diff changes only the 12 dots).
  • Claim: on hover the options button appears beside the status dot instead of replacing it. Verified.
  • Claim: under a coarse primary pointer every options button shows at rest. Verified (12 of 12).
  • Claim: a build replay moves no start, alternative or block list. Not rerun; the earlier review ran it on an identical tree.
  • Claim: one defect class per template; in-lane card reordering stays pointer-only and out of scope. Verified (cards reorder through pointer handlers only).
  • Claim: no new public API, visual representation, default or interaction model is hidden under the bug-fix label. No public API change is verified; the clicked-row reveal is a visual change the description does not disclose (first bullet).
  • Claim: public text carries no internal context. Verified.
  • Claim: prettier, eslint, a strict typecheck and the icon declarations test are clean. Verified.
  • Changeset claim: the kanban info icons are named buttons that Tab reaches and Enter opens, where before Tab stopped on a hidden, unnamed icon. Verified.
  • Changeset claim: the side-nav options button sits in the actions slot and shows while focus is in the row, so Tab reaches it; focus returns to it after its menu or delete confirmation; the link keeps its status in its name. Verified.
  • File .changeset/keyboard-audit-templates.md: clear.
  • File packages/cli/assets/templates/pages/kanban-board/page.tsx: clear (template rubric 67, unchanged from main, non-blocking).
  • File packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/shell-side-nav/page.tsx: code clear; its comment at lines 132-133 repeats the description's wording (second bullet).

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8e0547a

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI. The description's wording now matches what the code does, and the template comment says the same, so both points from the last review are closed; nothing is left for you to change.

  • Non-blocking, and not from this change: kanban-board/page.tsx scores 67 on the template rubric at this head and the same on main (custom styling at lines 233-283, a Section root at line 676 instead of Layout or Center, and an external @stylexjs/stylex import at line 13). Worth a separate pass some time, since product teams copy this page.

Verified in Chromium at 1280 px on both pages: the kanban info buttons are named and keyboard-operable, and the side-nav walk goes conversation link, "Conversation options", next link, with focus returning to the options button after a menu pick and after the delete confirmation. CI did not run on this head - its admission gate refused the run with "CI is full: re-run all jobs or push later", so build, docsite-test, test-native-swift and admission failed on that message alone and nothing was built or tested; please re-run all jobs when CI has room, since the merge guard needs them green.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules since the last review: none.
  • Claim: the title promises keyboard reach for the kanban info icons and the side-nav conversation options. Verified in Chromium on both pages.
  • Claim: before, Tab stopped on each kanban column's info icon, four per board, though it was hidden from assistive technology and had no name. Verified: on the base the focused element is an aria-hidden svg with no name, and Enter does nothing.
  • Claim: the icons now use InfoTip, which Core's Tooltip docs prescribe for an info icon. Verified (kanban-board/page.tsx:402; the Tooltip docs say "For an info icon, use InfoTip").
  • Claim: each InfoTip is a named button that Tab reaches, that hover and focus preview, that Enter, Space or a click pins, and that Escape closes with focus kept. Verified for Tab, focus preview, Enter (aria-expanded="true") and Escape; hover, Space and click are InfoTip's own documented behavior, unchanged here. All four buttons exist: About To-do, About In progress, About In review, About Done.
  • Claim: the unused icon import and its icon declaration go away. Verified, and the template icon declarations test passes.
  • Claim: before, the side-nav options button rendered only under hover, inside the conversation link, keyboard users could not reach it, and focus fell to the page body after a pick or the delete confirmation. Verified on the base: no button at rest, Tab goes link to link, and a mouse pick and Delete then Escape both end on the body.
  • Claim: the menu moves from endContent, inside the link, to actions, beside it, as the SideNavItem docs prescribe for interactive controls. Verified (shell-side-nav/page.tsx:152-179).
  • Claim: the status dot stays in endContent, so the link keeps its name and status. Verified: exactly one link whose computed name is "Weekend trip planning Active".
  • Claim: the menu is always in actions, so the row never changes shape. Verified: no focus loss anywhere in the Tab walk.
  • Claim: useContainerReveal shows the button on hover, on focus anywhere in the row and under a coarse primary pointer, keeps it mounted and in the tab order, and keeps it shown while its menu is open. Verified against the hook's styles and in the browser.
  • Claim: the row's hand-rolled hover state goes away. Verified.
  • Claim: Tab moves from the conversation link to the options button, and focus returns to it after its menu or delete confirmation closes. Verified for a keyboard pick, a mouse pick, and Delete then Escape.
  • Claim: on the kanban page only the four header icons change, slightly larger and darker. Verified: a pixel diff at 1280 px changes only four 20 by 20 px boxes, one per column header.
  • Claim: at rest each conversation link starts 8 px further in and its status dot sits 8 px further toward the start, and nothing else changes. Verified: link 24 to 32 px, dot 292-300 to 284-292 px, and the pixel diff changes only the 12 dots.
  • Claim: on hover the options button appears beside the status dot instead of replacing it. Verified.
  • Claim: under a coarse primary pointer every options button shows at rest. Verified: 12 of 12.
  • Claim: after a mouse click on a conversation its options button stays shown until focus moves elsewhere. Verified: 1 visible button on the clicked row after the pointer leaves, where the base shows none.
  • Claim: a build replay moves no start, alternative or block list. Not rerun; the template docs' names, descriptions and keywords, which that ranking reads, are unchanged here.
  • Claim: one defect class per template, and in-lane card reordering stays pointer-only and out of scope. Verified: cards still reorder through pointer handlers only.
  • Claim: no new public API, visual representation, default or interaction model is hidden under the bug-fix label. Verified: no public API changes, and every visual change is disclosed in the description.
  • Claim: public text carries no internal context. Verified.
  • Claim: prettier, eslint and a strict typecheck on both pages are clean, and the icon declarations test passes. Verified; the only strict-typecheck errors are two pre-existing ones in other templates for an unbuilt theme.
  • Changeset claim: the kanban info icons are named buttons that Tab reaches and Enter opens, where before Tab stopped on a hidden, unnamed icon. Verified.
  • Changeset claim: the side-nav options button sits in the actions slot and shows while focus is in the row, so Tab reaches it; focus returns to it after its menu or delete confirmation; the link keeps its status in its name. Verified.
  • File .changeset/keyboard-audit-templates.md: clear.
  • File packages/cli/assets/templates/pages/kanban-board/page.tsx: clear; its rubric score of 67 is unchanged from main (non-blocking bullet above).
  • File packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
  • File packages/cli/assets/templates/pages/shell-side-nav/page.tsx: clear; the comment at lines 132-134 now matches the hook's behavior.

Automated review (maintainer link)

@josephfarina
josephfarina force-pushed the josephfarina/shell-side-nav-focus branch from 8e0547a to 0770efa Compare November 17, 2026 20:11
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 0770efa

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: required checks are still running on this head.

Both templates do what the description says: each kanban column's help is a named button that Tab reaches, and the side-nav options button is a Tab stop after its conversation link, with focus returning to it after its menu or delete confirmation closes. The visible side effects (status dots 8 px further in, options shown at rest on touch, and a clicked row keeping its button) are all disclosed.

Claims and files checked

Review mode: full; reason: rebase

  • Claims:
    • Changeset: kanban info icons are named buttons that Tab reaches and Enter opens, where Tab used to stop on a hidden, unnamed icon: verified (kanban-board/page.tsx:406; the base focuses an aria-hidden svg, the head focuses "About To-do" and Enter pins it).
    • Changeset: the side-nav options button sits in the row's actions slot, shows while focus is in the row, is reached by Tab, gets focus back after its menu or delete confirmation, and the link keeps its status in its name: verified (shell-side-nav/page.tsx:131-179; browser Tab walk and close paths).
    • Before the change, Tab stopped on the four kanban icons, which were hidden from assistive technology and unnamed: verified (base focus probe; one icon per column).
    • Core's Tooltip docs prescribe InfoTip for an info icon: verified (Tooltip.doc.mjs, "For an info icon, use InfoTip").
    • Before the change, the options button rendered only on hover inside the link, keyboard users could not reach it, and focus fell to the page body after a pick or the delete confirmation: verified (base Tab walk skips it; a mouse pick and Delete then Escape end on the body).
    • The menu moves to actions as the SideNavItem docs prescribe, and the status dot stays in endContent so the link keeps its name and status: verified (SideNavItem.doc.mjs endContent and actions entries; one link named "Weekend trip planning Active").
    • The menu is always in actions, the reveal shows it on hover, focus in the row and a coarse pointer, keeps it mounted, holds it while its menu is open, and the hand-rolled hover state is gone: verified (code and probes).
    • Tab goes link, options button, next link, and focus returns to the button after a menu pick or the delete confirmation: verified (keyboard pick, mouse pick, Delete then Escape).
    • Kanban screenshots differ only inside the four icons: verified (pixel diff: four 16 px boxes and nothing else).
    • Side-nav at rest moves each link 8 px in and each status dot 8 px toward the start and changes nothing else; hover shows the button beside the dot; a coarse pointer shows every button at rest; a clicked row keeps its button until focus moves: verified (pixel diff: 12 dot boxes only; hover, touch and click-away probes).
    • The icon declarations test passes and the build replay moves no list: verified (3 tests pass; the replay's inputs, each template's name, description, keywords and category, are unchanged).
    • No public API, default or interaction model hides under the fix: verified (no API delta rows; only two templates, a template doc and a changeset change).
    • Prettier, eslint and a strict typecheck are clean on both pages: verified.
  • Files:
    • .changeset/keyboard-audit-templates.md: clear.
    • packages/cli/assets/templates/pages/kanban-board/page.tsx: clear; a pre-existing template-rubric note, unchanged from main, is non-blocking.
    • packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
    • packages/cli/assets/templates/pages/shell-side-nav/page.tsx: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 584a1db

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI's admission check stopped this head's run because CI was full, so its tests have not run; re-run all jobs (or push later) so they run before merge.

The new commit updates the installed-icon-set golden so the info icon counts one template instead of two, which matches the kanban template no longer declaring it; the test fails with the old count and passes with the new one. Both templates still do what the description says: each kanban column's help is a named button that Tab reaches, and the side-nav options button is a Tab stop after its conversation link, with focus returning to it after its menu or delete confirmation closes. The visible side effects (status dots 8 px further in, options shown at rest on touch, and a clicked row keeping its button) are all disclosed.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claims:
    • Changeset: kanban info icons are named buttons that Tab reaches and Enter opens, where Tab used to stop on a hidden, unnamed icon: verified (kanban-board/page.tsx:406; the base focuses an aria-hidden svg, the head focuses "About To-do" and Enter pins it).
    • Changeset: the side-nav options button sits in the row's actions slot, shows while focus is in the row, is reached by Tab, gets focus back after its menu or delete confirmation, and the link keeps its status in its name: verified (shell-side-nav/page.tsx:131-179; browser Tab walk and close paths).
    • Before the change, Tab stopped on the four kanban icons, which were hidden from assistive technology and unnamed: verified (base focus probe; no button named for any column).
    • Core's Tooltip docs prescribe InfoTip for an info icon: verified (Tooltip.doc.mjs, "for an info icon, use InfoTip").
    • Before the change, the options button rendered only on hover inside the link, keyboard users could not reach it, and focus fell to the page body after a pick or the delete confirmation: verified (base Tab walk skips it; a mouse pick and Delete then Escape end on the body).
    • The menu moves to actions as the SideNavItem docs prescribe, and the status dot stays in endContent so the link keeps its name and status: verified (SideNavItem.doc.mjs endContent and actions entries; one link named "Weekend trip planning Active").
    • The menu is always in actions, the reveal shows it on hover, focus in the row and a coarse pointer, keeps it mounted, holds it while its menu is open, and the hand-rolled hover state is gone: verified (shell-side-nav/page.tsx:131-154 and probes).
    • Tab goes link, options button, next link, and focus returns to the button after a menu pick or the delete confirmation: verified (keyboard pick, mouse pick, Delete then Escape).
    • Kanban screenshots differ only inside the four icons: verified (pixel diff: four icon boxes and nothing else).
    • Side-nav at rest moves each link 8 px in and each status dot 8 px toward the start and changes nothing else; hover shows the button beside the dot; a coarse pointer shows every button at rest; a clicked row keeps its button until focus moves: verified (pixel diff: 12 dot boxes only; shell-side-nav/page.tsx:152 keeps the dot beside the button; touch and click-away probes).
    • The icon declarations test passes and the build replay moves no list: verified (3 tests pass; the template doc changes only its icons map, not the name, description, keywords or category the build ranks).
    • No public API, default or interaction model hides under the fix: verified (no API delta; only two templates, a template doc, a test golden and a changeset change).
    • Prettier, eslint and a strict typecheck are clean on both pages: verified.
    • Commit: the installed-icon-set golden counts one fewer template using the info icon: verified (the test fails with the old count and passes with the new one, also when merged with main).
  • Files:
    • .changeset/keyboard-audit-templates.md: clear.
    • packages/cli/assets/templates/pages/kanban-board/page.tsx: clear; a pre-existing template-rubric note, unchanged from main, is non-blocking.
    • packages/cli/assets/templates/pages/kanban-board/template.doc.mjs: clear.
    • packages/cli/assets/templates/pages/shell-side-nav/page.tsx: clear.
    • packages/cli/test/__golden__/no-icon-set/validate-installed-set.json: clear.

Automated review (maintainer link)

@josephfarina josephfarina reopened this Nov 18, 2026
@josephfarina
josephfarina merged commit 02c0270 into main Nov 18, 2026
133 of 139 checks passed
@github-actions
github-actions Bot deleted the josephfarina/shell-side-nav-focus branch November 19, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 584a1db4 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant