From da8642dd445981fdd917aaf5313154f6bc5e5e88 Mon Sep 17 00:00:00 2001 From: bchanot Date: Thu, 19 Nov 2026 18:24:16 +0100 Subject: [PATCH] =?UTF-8?q?docs(docs):=20focus=20margin=20under=20the=20to?= =?UTF-8?q?p=20bar,=20=C2=AB=20Redessiner=20=C2=BB=20wording=20in=20the=20?= =?UTF-8?q?trial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/tasks/TODO.md | 2 +- docs/ANNOTATION-RENDERING.md | 8 ++++++++ docs/development/V1-2-6_OWNER_TRIAL.md | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 4959a907..39da76f3 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -750,7 +750,7 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [ ] Follow-up (owner approved 2026-11-19): the rights screen pages its grants (about 10 380 rows in the sandbox render at once; admin.spec axe Target crashed, lookup timeout; same on pre-U2 56c75b1). Production risk at those volumes. - [ ] Follow-up (owner approved 2026-11-19): the catalogue loads published versions progressively (`useCardDetails` loads 426 at once in the sandbox; catalogue-integrity times out; same on pre-U2 56c75b1). - [ ] `shortcut:` the « − » bubble for a mouse is 28 × 22 px, read off board 05 (R-9 gives only the touch size), `apps/app/src/editor/annotations/handleSize.ts`. Upgrade: the owner's value at the trial (U2 Task 5). - - [ ] No `scroll-padding-top` under the sticky top bar (pre-existing, WCAG 2.4.11): a keyboard focus on the header's « Défaire », « Refaire » or « Enregistrer » while scrolled can stay hidden under it; axe target-size flags them once a list click scrolled the page (U2 Task 5 review M-3). + - [x] (criterion 25, 23865071: a `scroll-margin-top` of the bar height plus 0.5 rem on the editor page's focusables outside the drawing place, `styles/index.css`) No `scroll-padding-top` under the sticky top bar (pre-existing, WCAG 2.4.11): a keyboard focus on the header's « Défaire », « Refaire » or « Enregistrer » while scrolled can stay hidden under it; axe target-size flags them once a list click scrolled the page (U2 Task 5 review M-3). - [x] At the page's end, a side panel that shortens (the issue list leaving it) clamps the scroll and moves the canvas by its height (11 px in `editor-geometry.spec.ts`, which starts from the top for that reason). Gone with Task 6: the column keeps the overview, the issue is in the strip and the dialog. `editor-geometry.spec.ts` now runs the accepted repair (the issue leaving) from the page's end under `expectNoShift`, buttons pressed in place, scroll position unchanged (U2 Task 5 fix round 1, closed by Task 6 fix round 1). - [x] (U2 Task 7: `CreationPanel`, `formProblem` and the two keys removed; the creation dialog uses `missingFields`) `shortcut:` the creation panel still shows the general lines `editor.annotations.required.fields` / `.names`, which R-3 removes (`apps/app/src/components/editor/annotations/CreationPanel.tsx`, `formProblem` in `creation.ts`). Upgrade: Task 7's creation dialog uses `missingFields` and the `editor.annotations.missing.*` keys, then the two keys and `formProblem` go (U2 Task 6 review Minor 6). - [x] (U2 Task 7: the close runs under `expectNoShift` again) `shortcut:` the close of a zone tracing (« Fermer le tracé ») is checked out of `expectNoShift` in `editor-annotations.spec.ts` « the drawing never moves »: the creation panel still replaces the overview in the side column until Task 7. Upgrade: wrap it again once the creation is a dialog (U2 Task 6, `aside-content` exemption removed). diff --git a/docs/ANNOTATION-RENDERING.md b/docs/ANNOTATION-RENDERING.md index cbb06e89..67fa4186 100644 --- a/docs/ANNOTATION-RENDERING.md +++ b/docs/ANNOTATION-RENDERING.md @@ -242,6 +242,14 @@ Backspace, Insert, « + ») takes the focus with a scroll, so the margin applies one chosen by a pointer or a finger takes it without a scroll. Below 1 024 px the strip is not sticky. +The editor page's other focusables (criterion 25: the header's « Enregistrer », the +tab row, « Défaire » and « Refaire », the notices' controls) carry a smaller margin, +the bar's height plus 0.5 rem, at every width since the bar is sticky everywhere. It +is one rule in `styles/index.css`, scoped to `[data-editor-workspace]` through +`:where()` so its specificity stays under the drawing place's rule, which wins for +its targets with the strip's height added. It excludes the strip's commands and a +dialog's controls, and the bar itself lies outside the workspace. + 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 »: diff --git a/docs/development/V1-2-6_OWNER_TRIAL.md b/docs/development/V1-2-6_OWNER_TRIAL.md index 9917746d..45ec0b27 100644 --- a/docs/development/V1-2-6_OWNER_TRIAL.md +++ b/docs/development/V1-2-6_OWNER_TRIAL.md @@ -829,7 +829,7 @@ Interprétations et écarts par rapport aux planches : - Une zone enregistrée de plus de 40 sommets n'a ni poignées ni glisser de l'intérieur ; ses boutons restent. - Un accès tracé en polygone a ses sommets et « Redessiner », mais pas de « Déplacer » ; un accès en cercle se glisse au doigt comme un point, sans curseur de taille. -- « Défaire » pendant un mode ou un nouveau tracé annule seulement ce mode ; Échap annule un nouveau tracé depuis +- « Défaire » pendant un mode ou un « Redessiner » en cours annule seulement ce mode ; Échap annule un nouveau tracé depuis n'importe où dans l'éditeur ; donner le focus clavier à un sommet le choisit ; une fermeture refusée laisse le tracé ouvert. - Un nouveau tracé garde la sélection précédente en dessous ; un point posé ou une zone fermée la lève. Une zone trop