[BUG] Sidebar session items on claude.ai/code are <div>s, not links — can't open in new tab or copy link
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
On claude.ai/code, the entries in the left sidebar (the session/conversation list) are rendered as clickable <div> elements with JavaScript onClick handlers rather than as real <a href="…"> anchors. Because there's no underlying anchor with an href, standard browser link affordances don't work:
- Ctrl/Cmd-click and middle-click don't open the session in a new tab.
- The right-click context menu has no "Open link in new tab", "Open in new window", or "Copy link address" entries (you get the generic page context menu instead).
- Hovering doesn't show the destination URL in the browser status bar.
- The items aren't exposed to assistive tech / the accessibility tree as links.
Notably, this is specific to claude.ai/code. On claude.ai/new (and the main claude.ai chat sidebar), the equivalent history items _are_ proper anchor links, so all of the above works as expected there. So this appears to be a regression/inconsistency in the Claude Code web surface specifically, not a site-wide choice.
What Should Happen?
Sidebar session items on claude.ai/code should be real anchor links (<a href="/code/session_<session-id>">…), with the click behavior layered on top — the same pattern already used on claude.ai/new. That way middle-click / modifier-click open in a new tab, the context menu offers "Open in new tab" and "Copy link address," and the links are keyboard- and screen-reader-navigable.
Error Messages/Logs
Steps to Reproduce
- Open https://claude.ai/code in a desktop browser while signed in, with at least one existing session in the sidebar.
- Right-click a session in the left sidebar → note there's no "Open link in new tab" / "Copy link address."
- Try Ctrl/Cmd-click or middle-click on the item → it does not open in a new tab.
- For contrast, repeat steps 2–3 on
https://claude.ai/new→ the history items behave as normal links.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.201
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
Opening a few sessions into separate tabs is a common navigation pattern, and "copy link to this session" is useful for sharing/bookmarking. Both are currently impossible without workarounds.