Hiérarchie lisible des sous-titres et largeur responsive #23

Closed
opened 2026-09-21 17:32:37 +02:00 by nessar · 1 comment
nessar commented 2026-09-21 17:32:37 +02:00 (Migrated from 172.24.0.1:8928)

What to build

Make the subtitle reading hierarchy match the user's comprehension goal: the aide associée appears above the piste principale and is visually larger. Start at approximately 32px for helper text and 24px for main text in both normal and fullscreen modes. When a main block has no associated help, its available text uses the larger reading size. Older entries stay readable instead of shrinking below the chosen reading size.

Use the full viewport width in plein écran while keeping the normal page's bounded shell. Let the browser wrap subtitle text to the available width without imposing a word-count limit or forcing line breaks from the subtitle source. Keep blocks and temporal associations intact, and preserve safe, accessible text rendering.

Acceptance criteria

  • Every entry with associated help renders helper text first and main text second, with a clear but accessible visual hierarchy.
  • Helper text is approximately 32px and main text approximately 24px in normal and fullscreen modes; older entries remain readable.
  • An entry without associated help uses the larger reading size for its main text and still communicates that help is absent when a helper track is loaded.
  • Normal mode keeps its bounded page shell; fullscreen reading reaches the available viewport width without an artificial measure limit.
  • Long lines wrap using browser layout, with no word-count heuristic and no forced preservation of source line breaks inside a block.
  • The layout has no horizontal overflow at the existing mobile viewport and remains usable with keyboard and assistive technology.
  • Unit/style and browser-level tests verify ordering, relative sizes, wrapping, absent-help presentation, fullscreen width, contrast, and the existing association behavior.

Blocked by

  • None — can start immediately.
## What to build Make the subtitle reading hierarchy match the user's comprehension goal: the **aide associée** appears above the **piste principale** and is visually larger. Start at approximately 32px for helper text and 24px for main text in both normal and fullscreen modes. When a main block has no associated help, its available text uses the larger reading size. Older entries stay readable instead of shrinking below the chosen reading size. Use the full viewport width in **plein écran** while keeping the normal page's bounded shell. Let the browser wrap subtitle text to the available width without imposing a word-count limit or forcing line breaks from the subtitle source. Keep blocks and temporal associations intact, and preserve safe, accessible text rendering. ## Acceptance criteria - [ ] Every entry with associated help renders helper text first and main text second, with a clear but accessible visual hierarchy. - [ ] Helper text is approximately 32px and main text approximately 24px in normal and fullscreen modes; older entries remain readable. - [ ] An entry without associated help uses the larger reading size for its main text and still communicates that help is absent when a helper track is loaded. - [ ] Normal mode keeps its bounded page shell; fullscreen reading reaches the available viewport width without an artificial measure limit. - [ ] Long lines wrap using browser layout, with no word-count heuristic and no forced preservation of source line breaks inside a block. - [ ] The layout has no horizontal overflow at the existing mobile viewport and remains usable with keyboard and assistive technology. - [ ] Unit/style and browser-level tests verify ordering, relative sizes, wrapping, absent-help presentation, fullscreen width, contrast, and the existing association behavior. ## Blocked by - None — can start immediately.
nessar (Migrated from 172.24.0.1:8928) closed this issue 2026-09-22 19:05:18 +02:00

Preserved GitLab #23 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 0; visible source notes: 0.

gitlab-49-issue-23.md (SHA-256 2c2e74093013a470227c596790b045c009c514805cc88a54528df90ae00fd616)

gitlab-49-issue-23.json (SHA-256 c7f43565330ec36bd5f3eda1349f3ff400f769080a35610eb6b292a5419f174d)

Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.

<!-- gitlab-to-gitea-history:49:Issue:23 --> Preserved GitLab #23 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 0; visible source notes: 0. [gitlab-49-issue-23.md](https://gitea.nessar.fr/attachments/5d53dcfd-9d6f-4798-aefe-6f115971f6c6) (SHA-256 `2c2e74093013a470227c596790b045c009c514805cc88a54528df90ae00fd616`) [gitlab-49-issue-23.json](https://gitea.nessar.fr/attachments/b22a1680-5f37-4838-a18c-18d5a038960c) (SHA-256 `c7f43565330ec36bd5f3eda1349f3ff400f769080a35610eb6b292a5419f174d`) Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.
gitea-emergency added this to the Development project 2026-10-11 22:14:41 +02:00
gitea-emergency moved this to Closed in Development on 2026-10-11 22:14:41 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nessar/subtitle-compagnion#23