oficina / slides Public

Editor: presses control keeps its corner; talk rows are toggle buttons

Review round 1 of Task 15.

The presses control is placed again whenever its words change, measured
from the start so it is as wide as its words, and never wider than the
slide. Its end edge stays on the slide's while playing and after Esc;
at 320px the sentence wraps inside the slide's width. Below 1100px the
stage keeps room under a slide with presses for the two-line sentence.
The server now draws the control for the painted slide, so that room is
there at the first paint; it is unseen until the bundle places it.

Skip in the short version and Park were menuitemcheckbox rows in
containers that are not ARIA menus. They are now toggle buttons with
aria-pressed, like their siblings and the View menu's rows, in both
the Slide menu and the strip item's menu. The test reads role, name and
pressed from the accessibility tree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev fa0f6b89be57a4b02863594a05c0dd9106f71577 parent 32df2ff
10 files changed, +176 −73
  • fixtures/editor-entry.js +5 −5
  • fixtures/play-through.mjs +13 −2
  • fixtures/strip.mjs +3 −3
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/editor.go +7 −3
  • internal/slides/static/{editor.17ecdb0a146b081e.js => editor.703499261afc631a.js} +2 −2
  • internal/slides/static/editor.css +23 −8
  • internal/slides/templates/editor.html +18 −13
  • internal/slidestest/browser_editor_talk_test.go +102 −34
  • internal/slidestest/quieter_inventory_test.go +2 −2
fixtures/editor-entry.js

Loading diff…

fixtures/play-through.mjs

Loading diff…

fixtures/strip.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/editor.go

Loading diff…

internal/slides/static/{editor.17ecdb0a146b081e.js => editor.703499261afc631a.js}

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/browser_editor_talk_test.go

Loading diff…

internal/slidestest/quieter_inventory_test.go

Loading diff…