Skip to content

SCRIP-SITE-012: literary visual design, keyboard/mobile and print acceptance #283

Closed

Description

@andy-zen-dev

Product goal

Make the now-merged Reader 0.2 and subsequent public comparison understandable and visually polished for readers, writers and researchers, with verified behavior not just CSS mockups.

Local handoffs

Scriptorium-Reader-Literary-Theme-20261020.zip, Scriptorium-Reader-Accessible-Navigation-20261018.zip, Scriptorium-Reader-Metric-Labels-20261020.zip, Scriptorium-Reader-Evidence-Labels-20261020.zip. Most metric labels already shipped in #276; deduplicate against current master and avoid replaying obsolete patches.

Acceptance

  • Clear reader-first homepage with working demo links and status caveats; consistent literary typography, light/dark contrast, mobile table scrolling and large touch targets.
  • Accessible chart labels and exact-value table alternatives; focus/skip links, keyboard navigation, reduced-motion and print styles.
  • Build actual canonical HTML; automated structure/link checks plus real desktop/mobile screenshots and focus/manual checks when permitted. If browser restricted, mark VISUAL_NOT_VERIFIED, do not fake it.
  • Source-free/translation/provenance labels and FantLab unknown/parity states must remain visible. Do not publish synthetic or unverified book results as real.

Activity

  1. drevendev commented on Oct 24, 2026

    @drevendev
    Owner

    Reviewer finding — print contrast after the exact-values homepage merge (2026-10-24)

    Scope: #283's remaining print/readability acceptance. The current master source
    scriptorium/site_home_showcase.py (Git blob 79ab319038066b7658e1c7ae736429e9a1b26adc) contains the
    visible exact-value table introduced in merged #306. Replacing <details> with a
    <section>, making the table print-visible, and removing scroll clipping are
    useful corrections.

    Finding (source/CSS-cascade validation): the print rule changes
    .demo-panel to a white background and explicitly makes table cells and
    .demo-exact h3 black, but does not override three other text colors:

    • .demo-panel table caption { color:#e6e9da } — approximately 1.23:1
      contrast against white. Its caption explains that these are frozen derived
      measurements and the chart labels are rounded.
    • .demo-eyebrow { color:#cee6d8 } — approximately 1.32:1.
    • .demo-open { color:#ffe1aa } — approximately 1.26:1. The global
      @media print a {color:#000} in site_renderer.py does not win against
      the more specific .demo-open declaration in the subsequently concatenated
      HOME_CSS.

    Thus the exact numbers survive printing but the context/caveat and the link to all
    ten metrics can be nearly invisible in a print/PDF view. This does not reverse
    #306's successful merge or imply the underlying metrics are wrong.

    Bounded correction: in HOME_CSS's @media print, also give the
    caption, .demo-eyebrow, and .demo-open readable dark foregrounds; retain
    an obvious non-color link affordance. Add a print-style regression that exercises
    the actual resulting cascade/contrast (or a real print-rendered screenshot when
    browser access is permitted), rather than only asserting the presence of three
    CSS substrings.

    Evidence limits: this is a deterministic CSS/color calculation and source
    ordering check, not an executed print browser/PDF test. #306's exact-head
    Scriptorium Pages and Reader CI passed (including the canonical site build);
    those checks do not establish this print contrast. The public Pages deployment and
    full desktop/mobile/manual visual acceptance remain separate, still open under
    #285 and this Issue.

  2. andy-zen-dev commented on Nov 18, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Acceptance verified against live branch Pages for master@b5fb5014d2c4fda0432c15faa89f421814138dc3 (2026-11-18).

    • PR fix(site): restore contrast of exact-value demo table #577 merged; exact dark-panel row/header contrast regression and print overrides are covered by tests/test_site_home_showcase.py.
    • Pages build and live Chromium run: unit tests, deterministic build, branch-root desktop/mobile/keyboard/A4, generated-gallery browser flow, and live browser readback all SUCCESS. The separate GitHub-managed Pages deployment also succeeded. The optional artifact-deploy job was SKIPPED by configuration, not a failure.
    • Archived live readback has status: LIVE_VERIFIED, exact SHA-256 identity for nine published routes, and desktop/mobile/keyboard/glossary/voice/CSV/A4 checks; the branch-built gallery browser tests passed separately. Inspected real mobile and desktop screenshots: typography, touch targets, navigation and dark exact-value table are legible; no mockups used.
    • Source-backed edition/translation labels and honest UNKNOWN / M2 0/5 scientific limits remain intact. Print captions, eyebrow, source link and hover/focus states have explicit readable colors.

    This closes the broad Reader visual/accessibility acceptance item. Future discrete UI regressions should get a focused issue/PR rather than reopening unchanged work. No new corpus admission or FantLab parity claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions