fix(editor): bubble clears the strip's commands, announces through a steady region

This commit is contained in:
bchanot committed 2026-11-19 21:04:21 +01:00
1 parent 49f0144729
commit a9252375e1
7 files changed
+313 -56

No files matched your search

+9 -6
View File
@@ -277,12 +277,15 @@ its targets with the strip's height added. It excludes the strip's commands and
dialog's controls, and the bar itself lies outside the workspace.
A press on a held « Défaire » or « Refaire » (D1, criterion 33) says why in a bubble under
that button, on every tab. It is a `role="status"` element portalled to the body with
`position: fixed` (no layout shift), at z-20: over the sticky strip and the pinned column,
under the top bar (z-30, and it never sits higher than the bar's bottom) and the modal
dialogs. Its right edge follows the button's, kept 8 px inside the window. It ends with the
hold, a tab change, the focus leaving the button, a press elsewhere, or Escape, which it
takes before any other Escape.
that button, on every tab. It is portalled to the body with `position: fixed` (no layout
shift), at z-20: over the sticky strip and the pinned column, under the top bar (z-30, and it
never sits higher than the bar's bottom) and the modal dialogs. At most 18 rem wide, its
right edge follows the button's, kept 8 px inside the window; while the strip is on screen
it ends 4 px left of the strip's command box, so the commands its text names stay visible.
It is `aria-hidden`: each button carries an always-mounted visually hidden `role="status"`
region whose keyed child holds the text per press. It ends with the hold, a tab change, the
focus leaving the button, a press elsewhere, a scroll, a dialog opening, or Escape, which it
takes before any other Escape (typed in a text field it only closes the bubble).
A creation (U2 Task 7, A2, A4, A12) is drawn by the overlay too, never by the
core, since the new shape is not in the document until « Créer »: