Slides format bar: keeps its view when focus moves to a button, so it works from a keyboard
Claude Fable's round-2 P2-4 on #40: the round-1 blur fix let go of the view on any blur outside the bar, so Shift+Tab from the text (through the notes switch) disabled every button before a keyboard reached them. It now lets go only when focus moves to another place to type — a text field, a select, another editable text (shouldLetGo, unit-tested) — and keeps the view for buttons, checkboxes and radios on the way. Checked in Chromium: Shift+Tab six times from a selection reaches Bold, Enter bolds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 files changed,
+46
−14
fixtures/format-bar.mjs+25 −7fixtures/format-bar.test.mjs+15 −1internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.00f89314b12a595c.js => editor.dbe1616ac10c8b57.js}+5 −5
CI passed — run details
Intent
fixtures/format-bar.mjsLoading diff…
fixtures/format-bar.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.00f89314b12a595c.js => editor.dbe1616ac10c8b57.js}Loading diff…