oficina / slides Public

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>
Paul Campbell pushed by paul@keymail.dev e2b62aad8a8dc1664f677f6bc6da1d6af8fcafbe parent 4a99935
4 files changed, +46 −14
  • fixtures/format-bar.mjs +25 −7
  • fixtures/format-bar.test.mjs +15 −1
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/{editor.00f89314b12a595c.js => editor.dbe1616ac10c8b57.js} +5 −5

CI passed — run details

fixtures/format-bar.mjs

Loading diff…

fixtures/format-bar.test.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/{editor.00f89314b12a595c.js => editor.dbe1616ac10c8b57.js}

Loading diff…