GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — feat(web): arrow keys move through the conversation one message at a time by akj · Pull Request #26457 · pingdotgg/t3code Conversation
|
| Keys | Result |
|---|---|
Tab, F6 / Shift+F6 |
Enter the conversation once. Tab returns to the message you last focused, or else the latest one. F6 lands on a message already in view and never scrolls, so following a running turn keeps working. |
| Up / Down, Home / End | Move focus between messages and work entries. The screen reader reads the focused one. Home and End go to the first and last loaded ones; Up from the first loaded one reaches Load earlier turns. |
| Tab | From the focused message, reach that message's own links and buttons (including Copy and Fork shown below a response), then leave the conversation. |
Browse mode is unchanged. Messages are a plain list (role="list" / listitem) with no label of their own, unlike the sidebar's tree. A label on an item would replace its content in NVDA browse mode (the #17877 bug), so every message still reads in full with its "You" / "T3 Code" heading, links and code, and H / K quick navigation still works. A test checks that unfocused messages keep their heading and links. Focused, Chromium names a message from its content, heading first ("T3 Code Second answer, see…").
These come from what the maintainers changed when taking over earlier accessibility work:
aria-posinset, with aria-setsize="-1" while earlier turns aren't loaded). The focused message is kept mounted. Up and Down reach rows the list hasn't mounted yet.F6 never scrolls, and only a move that has to scroll stops following a running turn. Nothing covered by the composer is chosen as an entry point.Mobile is unchanged: VoiceOver and TalkBack already step through messages natively.
The only visual change is a focus ring around the whole focused row, in the same ring color the sidebar uses, shown only for keyboard focus. Before this change, no message could take focus. I captured it in the dev build but couldn't attach the image from a fork.
vp run check:changed passes format, lint, knip and tests. Its typecheck step fails only because this checkout's tsc launcher points at a TypeScript build that isn't installed; tsc-rs on apps/web reports no errors.Reviewed with sol-loop: 5 rounds with GPT-6.1 Sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code (implementation by an Opus 5.5 subagent).
🤖 Generated with Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Keyboard and screen reader users can now browse the conversation like Slack's message list: Up, Down, Home and End move focus between messages, Tab reaches only the focused message's links and buttons, and the list is one Tab stop. Messages stay a plain list, so browse mode still reads each one in full with its headings and links. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ls stay out of Tab Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… replaced Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Conversation navigation now defaults to one message-level Tab entry, with arrow-key movement and Tab access to that message's controls. Human review is required to accept replacing the existing default Tab traversal. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Timeline control reachability apps/web/src/lib/timelineNavigation.ts, apps/web/src/lib/timelineNavigation.browser.test.ts |
Shared helpers manage timeline selectors, reveal offscreen items, and update Tab access to controls linked to the active row. |
Timeline row navigation apps/web/src/components/chat/MessagesTimeline.tsx, apps/web/src/components/chat/MessagesTimeline.browser.test.tsx, docs/user/keyboard-focus.md |
Timeline rows expose list semantics and support arrow and Home/End navigation. Focus can move to an unmounted row, and Arrow Up from the first row can reach the load-earlier button. Browser tests and documentation cover the navigation behavior. |
Conversation focus restoration apps/web/src/lib/workspaceFocus.ts, apps/web/src/lib/workspaceFocus.browser.test.ts, apps/web/src/components/ChatView.logic.ts, apps/web/src/components/ChatView.logic.browser.test.ts |
Focus restoration selects an eligible visible timeline row. Composer refocusing excludes keyboard-focused timeline items, and browser tests cover both timeline and sidebar rows. |
Priority:
Estimated code review effort: 3 (Moderate) | ~25 minutes
Change: Feature
sequenceDiagram
participant User
participant MessagesTimeline
participant LegendList
User->>MessagesTimeline: Press an arrow key on a focused row
MessagesTimeline->>LegendList: Scroll an offscreen target into view
LegendList-->>MessagesTimeline: Mount the target row
MessagesTimeline->>MessagesTimeline: Focus the target row
Suggested labels: size:L
Suggested reviewers: t3dotgg, maria-rcks
376eeThe keyboard-navigation change is mergeable after normal checks. Screen-reader behavior still needs manual validation.
Explanation
The description provides detailed problem, change, and verification information, including test results, manual checks, limitations, and agent details. It does not provide the required Scope and approval information with a triaged issue or explicit maintainer approval. It also does not include the required before/after UI screenshots; it only states that an image could not be attached.
Resolution
Add a Scope and approval section with the triaged bug or discussion link and explicit maintainer approval, or explain why this focused fix qualifies for an exemption. Add clear before/after screenshots for the UI change and embed them in the pull request description. Keep the existing verification details, including the TypeScript check limitation and observed results, and retain the model and harness details at the end if an agent was used.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
closing at @StiensWout's request under Provide evidence for the changed behavior. Adds keyboard navigation between conversation messages, a visible focus ring, and new focus/Tab behavior. The author says the focus-ring image was captured locally but could not be attached; no before/after images or recording of the key interaction is supplied. submission evidence: "I captured it in the dev build but couldn't attach the image from a fork." Attach before/after images of focused messages and a short recording demonstrating F6 entry, arrow navigation and Tab leaving the message. thanks for trying to help improve t3 code. if you think this closure was a mistake, please open a fresh pr addressing the requirement above, and link back to this one. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.