fix(cv): keep blank letter documents accessible

This commit is contained in:
cesnimda
2026-10-26 05:08:58 +01:00
parent 3150351221
commit 7bf06ede52
4 changed files with 37 additions and 6 deletions
+10
View File
@@ -164,3 +164,13 @@ Require exactly the four fixture names `light-en-a4`, `dark-nb-a4`, `light-nb-le
The historical collector is not parameterized for this feature and hardcodes old totals/roots. A minimal new parent-owned collector must read only this fresh attempt, reconcile current discovery exactly against four ordinary reports, enumerate frontend assertion names and backend/provider TRX test IDs, validate all independent lane reports and process exits, verify no retries/unexpected skips, check CV24 and letter4 oracle membership, bind inputs/runtime/image hashes, and require positive cleanup. Its offline self-check must reject a historical-root report, absent/duplicate cases, bad process exit, source/runtime drift, wrong image and missing cleanup. `--collect-only` must not mean acceptance. Historical Phase 9 evidence stays immutable.
Stop/re-freeze on source or runtime drift, stale apphost/static output, migration/schema failure, failed oracle, frozen history loss or unqualified revision behavior. Keep failed attempts separate; never replace a full failed shard with an overlapping focused test total. Report focused/full/backend/frontend/browser/provider/PDF/human outcomes independently. Human screen-reader/touch/device/zoom/print, hosted isolation/MariaDB, provider, deployment and production remain NOT TESTED/BLOCKED as applicable. Production and Phase 10 remain NO-GO.
## 26 October: blank letter accessibility checkpoint
Frozen aggregate `final-06` completed its first ordinary shard with 96 passing and four failing cases; source/runtime hashes remained unchanged. Three application-form failures exposed empty optional letter headings and an unnamed document landmark. The fourth fixture incorrectly counted the new read-only preview POST as a durable mutation. This attempt remains failed and retained.
The shared renderer now omits blank optional headings, supplies an escaped localized fallback document title, and names the document body landmark. Nonempty headings and document layout retain their existing rendering. The mutation fixture excludes only the exact numeric-job preview POST; all save/restore/other commands and durable readbacks remain checked.
Two new EN/NB regression cases failed before the renderer fix. Fresh full Release backend validation passed 1,229/1,229 with zero skips (`.artifacts/cv-ux-01/letter-empty-backend-successor.trx`); all 11 original application-form browser cases passed (`letter-legacy-forms-01.json`). Guarded actual MariaDB 12.2.2 passed 59/59 with zero skips, matching before/after source hashes, runner exit 0 and positive owned-service cleanup (`provider-final-04`). Independent review found no material issue. These totals overlap earlier focused/full runs and must not be added together.
The frozen aggregate and current-source Linux image/PDF checks must be rerun after this checkpoint. Earlier aggregate failures and pre-fix images do not establish final acceptance. Full frontend `frontend-final-03` remains current at 981 passing assertions across 107 suites because this checkpoint changes no frontend product or unit-test source. Final acceptance remains pending.