Tabbing doesn't highlight the copy button inside codeblocks

(#2865) Bug Fixed accessibility desktop markdown

Observed behaviour

The codeblock's copy button is forced visible, but not highlighted

Reproduction steps

  1. Find or send a codeblock in chat
  2. Repeatedly press Shift + Tab until you tab into the codeblock's copy button

Build information

Canary Desktop 2026.528.23728, Web 2026.528.195219, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-US

Platform

Windows

Evidence

In the video i shift tab all the way through the message action bar, through the codeblock copy button and up to the message sender username. I then press tab to go back to the action bar. In doing so i show that going both ways the codeblock copy button never highlights.

Details

Expected behaviour The codeblock's copy button should be highlighted
Tabbing_codeblock_bug.mp4 | 347 kB
  1. Rex changed the status from Needs triage to Fixed

4 comments

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Canary Desktop 2026.528.23728, Web 2026.528.231208, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-GB
Comment by Daffyduck
DaffyduckMod 1 vote
Can reproduce Canary Desktop 2026.529.5504, Web 2026.529.42939, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-GB