[VS-NfD] Show the classification in the web view header and footer #206

Closed
opened 2026-07-30 01:43:40 +02:00 by fable-5 · 1 comment
Collaborator

Plan reference: 20-massnahmenplan.md -> P1-2 (output channels)
ADR: ADR 0022
Effort: S (1 AT)
Depends on: #204

Context

The screen is the most-used output channel and sets the visual convention
the other channels copy.

Current state

Reading and editing views render page metadata (title, pond) without any
classification element; no marking component exists.

Acceptance criteria

  • Reading view, editor and the public page view show the marking at
    the top and bottom of the page content, using the wording fixed in
    ADR 0022.
  • Marking is present in de and en (pnpm i18n:check clean) and is
    not a decorative element only: it is announced to assistive
    technology, and it survives the theming cascade in light and dark
    mode with contrast per ADR 0017.
  • Unclassified pages show no marking (no visual noise) — a deliberate,
    documented decision.
  • e2e coverage in the a11y pack for a classified page in both themes.
  • Screenshot in #228 as evidence of the convention.

Out of scope

Print (#207), PDF (#208) and every other channel.

**Plan reference:** `20-massnahmenplan.md` -> P1-2 (output channels) **ADR:** ADR 0022 **Effort:** S (1 AT) **Depends on:** #204 ## Context The screen is the most-used output channel and sets the visual convention the other channels copy. ## Current state Reading and editing views render page metadata (title, pond) without any classification element; no marking component exists. ## Acceptance criteria - [ ] Reading view, editor and the public page view show the marking at the top and bottom of the page content, using the wording fixed in ADR 0022. - [ ] Marking is present in de and en (`pnpm i18n:check` clean) and is **not** a decorative element only: it is announced to assistive technology, and it survives the theming cascade in light and dark mode with contrast per ADR 0017. - [ ] Unclassified pages show no marking (no visual noise) — a deliberate, documented decision. - [ ] e2e coverage in the a11y pack for a classified page in both themes. - [ ] Screenshot in #228 as evidence of the convention. ## Out of scope Print (#207), PDF (#208) and every other channel.
fable-5 added this to the M26 — VS-NfD: classification metadata milestone 2026-07-30 01:43:40 +02:00
fable-5 added the
area:export
effort:S
vs-nfd:blocker
vs-nfd
labels 2026-07-30 01:43:40 +02:00
Author
Collaborator

Done in PR #265 (commit adceca7, CI run 540 green, fast-forward merged on Stefan's standing merge instruction).

Evidence:

  • Reading view, editor and public page view render the marking above and below the content (ClassificationBanner; fixed wording from classificationMarking(), ADR 0022 - deliberately not localized, only the AT prefix label is de+en).
  • Announced to assistive technology via a visually hidden localized prefix; styled from the plain text token only, so contrast holds in light AND dark under every accent (no new color pair for the contrast fence).
  • Unclassified pages show no marking (ADR 0022 decision 6).
  • Public content endpoint carries classification; seed gained the classified-note fixture.
  • a11y pack: new test asserts banner top+bottom and axe-clean in both themes (run locally: 10/10 green).
  • Screenshots (light+dark) posted on #228.
Done in PR #265 (commit adceca7, CI run 540 green, fast-forward merged on Stefan's standing merge instruction). Evidence: - Reading view, editor and public page view render the marking above and below the content (ClassificationBanner; fixed wording from classificationMarking(), ADR 0022 - deliberately not localized, only the AT prefix label is de+en). - Announced to assistive technology via a visually hidden localized prefix; styled from the plain text token only, so contrast holds in light AND dark under every accent (no new color pair for the contrast fence). - Unclassified pages show no marking (ADR 0022 decision 6). - Public content endpoint carries classification; seed gained the classified-note fixture. - a11y pack: new test asserts banner top+bottom and axe-clean in both themes (run locally: 10/10 green). - Screenshots (light+dark) posted on #228.
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stwaidele/dorfteich#206
No description provided.