Demo and training
Practice modes and guides that let people rehearse with fictional data before the real thing: a persistent safety bar with a "DEMO" chip, a reset that is always in reach, a role picker and a step-by-step guide, and the rule that nothing in a demo ever touches live data.
| Template | 10 of 11, "Demo and training" (canonical §11, D-BCP-24) |
| Used by | Global Games /demo (the browser simulation) and /training (the staff guide); any practice mode, product tour, or staff rehearsal. Demo listings elsewhere (Global Jobs' "(Demo)" jobs) follow the honesty rules here |
| Reference template | None ships in 1.0.0; build from the Skeleton below |
| Decisions | D-BCP-23, D-BCP-24, D-BCP-21, D-BCP-34, D-CSN-20, D-CSN-26, D-CAI-04, D-CAI-14, D-LAY-04, D-LAY-14 |
Purpose
- Let people rehearse every role before the real event, with fictional people and data, and nothing real at stake (D-BCP-23).
- Make the mode impossible to mistake: a safety bar on every page, "DEMO" on every simulated screen, identifiers that can never be issued (canonical §12.5).
- Guide people step by step and say what success looks like, then say honestly what the demo does not prove (canonical §11 row 10).
When to use
- A guided simulation where people try every role with fictional people and data, in their own browser: Games' "Open Doors · Operations demo".
- A staff guide that explains each role's steps, what success looks like, and what to do when stuck, and that sends people to the demo first.
- A rehearsal inside the real product that runs on an isolated copy of the data ("TRAINING EVENT · isolated rehearsal").
- Any screen that shows sample content that could pass for real: the honesty rules under Never touch live data apply to every product.
Use something else when:
| Situation | Use instead |
|---|---|
| Showing what a product looks like on a marketing page | A device preview with the caption "Illustrative product preview" (landing page, canonical §9) |
| First use of a real account | Authentication and app home |
| A staging or test environment | The page strip alone (banner), with the environment's name |
| A feature that is not built | "Coming soon", one sentence, no action (canonical §12.5) |
Structure
Desktop (from 1024px)
- Skip link "Skip to content". Every demo and training page has one (canonical §11).
- Header, the family site header: the product's lock-up linking to the demo's start, the language switcher, and "Back to {product}" at the inline end: a 48px back link with a mirrored 20px
arrow_back("Back to Global Games"). Never a forward arrow on a way back (D-BCP-34). - Safety bar: the page strip (banner,
.oa-page-strip), full width under the header, info tone, no corners,px-4 py-2, text centered, a "DEMO" chip first: "Practice only · Fictional visitors · No real scores or Global ID changes". It is on every page of the mode, over every simulated screen, never dismissible, and has no live role (canonical §10.22, §12.5). - Page heading in the page frame (
max-w-page):- an eyebrow ("Guided walkthrough"), the h1 ("Open Doors · Operations demo"), and a lead in
text-lead text-on-surface-variant("Practice the whole event before the doors open."); - at the inline end of the heading row, an
outlinedmd"Reset demo", always visible.
- an eyebrow ("Guided walkthrough"), the h1 ("Open Doors · Operations demo"), and a lead in
- Role picker: a labeled group of toggle tiles ("Explore any role"), one per role, each a
<button>with[aria-pressed], an 18px icon, and a one- to three-word label; the current role is pressed (primary-container, acheckin place of its icon), and pressing another role releases it. Built from filter chips with a leading icon (.oa-chipin a.oa-chip-group), because no tile component exists. Canonical asks for toggle tiles with[aria-pressed]here (§11 row 10); a role chosen inside a form that is submitted later takes the chips' native-radio form instead (§10.9). - Workspace:
grid gap-gutter-medium lg:grid-cols-[var(--size-side-pane)_minmax(0,1fr)]: the 320px side pane of canonical §4.4, placed at the inline start because the guide is read before the screen it explains (Global Games puts it there too):- Guide aside, 320px, first in the DOM,
lg:sticky lg:top-24under the sticky header: the guide's title, a stepper header ("Step 1 of 8", the step's title, the 4px segmented bar), "What to do", a success note "What you should see", "If stuck", then "Next step" (filled lg, full width) and "Previous step" (outlinedmd, canonical §10.18), and "Hide walkthrough" as a text button. - Simulated screens in the main column, each in a card labeled with an info status chip that starts with "DEMO": "DEMO · Private demo host desk", "DEMO · Points open".
- Guide aside, 320px, first in the DOM,
- Footer: the family footer after
<main>, reduced to the row of its legal bar (canonical §10.16, §11): the mode line "Demo · This browser only" first, the practical line "Keep this page open while presenting. Use a second tab for the public stage.", then the endorsement "© 2026 Global University · Powered by OAIT" and the language switcher at the inline end (canonical §1.7). The family has no separate demo footer; this is the document page's footer with the mode line added. With no link groups above it, the legal bar (.oa-footer__legal, holding.oa-footer__legal-inner) is the footer's first child and drops its own top edge, so the footer's edge is the only hairline (R-54).
One filled button per screen: before the walkthrough starts it is "Start the guided demo"; then it is the guide's "Next step". Simulated screens keep their own controls inside their labeled cards (canonical §0.3, D-CAI-04).
Phone (below 640px)
- The header keeps the S lock-up; "Back to Global Games" becomes a 48px icon button with the same name, mirrored
arrow_back(header actions collapse first, the product name never hides; canonical §1.4). - The safety bar wraps onto two or three centered lines, the chip first. It never truncates.
- "Reset demo" stays visible under the lead at its own width and 48px height; its label keeps its size (never shrunk to fit).
- The role picker wraps; tiles stay one row tall and their labels never wrap.
- The guide comes before the simulated screens and is not sticky; "Next step" spans the width.
In between (640–1023px)
- The guide stays above the simulated screens until 1024px, where it becomes the sticky 320px column (canonical §4.4); the header shows "Back to Global Games" in words from 640px.
Training guide
From 1024px, top to bottom (canonical §11 row 10, Games /training):
- Skip link, header, and the page strip only if the page itself runs a rehearsal.
- Hero split (
.oa-split): an eyebrow ("Open Doors · Operations guide"), a statement h1 ("Know where to go. Know what to do."), a lead ("Choose your role for three clear steps, the screen to open and what a successful action looks like. Start with the interactive demo before using a live event.") | a tonal card (lavender) with two short sentences on what the demo is and never does ("Practice with sample visitors in your browser. Demo actions do not change the live event, award real points or use real badges."), thefilled lg"Start the interactive demo" and a text link "Open my events". - Notice: an info banner with the title "Live event guide" and "To open a real event, choose it from My events, then open this guide from that event. The steps below work for every event."
- "What is your role?" (h2) and the role picker.
- The chosen role's guide in a card: an icon tile and the role's name as h3 ("Booth scanner"), one sentence ("Record the first eligible visit at your assigned booth."), the rule to check before starting, numbered steps (
<ol>), what the outcomes mean ("Accepted shows the points and receipt. Already visited means zero new points. Use Scan next only after the result appears."), what to do if stuck, and the actions. - Rehearsal checklist as checkboxes: "Sign in with real Global ID on the intended devices before a live event."; "Check English, Arabic and reduced motion on the real projector, host device and spare phones."
- Limits: what the demo does not prove. "Camera permissions, real Global ID sign-in, network recovery, simultaneous devices, live storage and real badge validation must still be rehearsed in the real event. A simulated success is not a production test."
- Footer.
Below 1024px the hero stacks text first; role tiles wrap; the guide card follows the picker.
Skeleton
<a class="oa-skip-link" href="#main">Skip to content</a>
<header class="oa-site-header"><!-- lock-up · language switcher · "Back to Global Games" --></header>
<div class="oa-page-strip">
<span class="oa-page-strip__chip">DEMO</span>
<span>Practice only · Fictional visitors · No real scores or Global ID changes</span>
</div>
<main id="main" tabindex="-1">
<div class="oa-container oa-stack oa-stack--loose">
<div class="oa-cluster">
<div class="oa-stack oa-stack--tight">
<p class="oa-eyebrow">Guided walkthrough</p>
<h1 class="oa-page-title">Open Doors · Operations demo</h1>
<p class="oa-text-lead oa-supporting">Practice the whole event before the doors open.</p>
</div>
<button class="oa-btn oa-btn--outlined" type="button"><span class="oa-icon oa-btn__icon" aria-hidden="true" translate="no">restart_alt</span><span class="oa-btn__label">Reset demo</span></button>
</div>
<fieldset class="oa-chip-group">
<legend class="oa-visually-hidden">Explore any role</legend>
<button type="button" class="oa-chip" aria-pressed="true"><span class="oa-icon oa-chip__icon" aria-hidden="true" translate="no">qr_code_scanner</span><span class="oa-icon oa-chip__icon oa-chip__check" aria-hidden="true" translate="no">check</span>Booth scanner</button>
<button type="button" class="oa-chip" aria-pressed="false"><span class="oa-icon oa-chip__icon" aria-hidden="true" translate="no">record_voice_over</span><span class="oa-icon oa-chip__icon oa-chip__check" aria-hidden="true" translate="no">check</span>Competition host</button>
</fieldset>
<div><!-- the workspace: the guide aside first, then the simulated screens (grid tracks below) --></div>
</div>
</main>
<footer class="oa-footer">
<div class="oa-footer__legal">
<div class="oa-footer__legal-inner">
<p><strong>Demo · This browser only</strong></p>
<p>Keep this page open while presenting. Use a second tab for the public stage.</p>
<p class="oa-footer__endorse"><a class="oa-footer__legal-link" href="https://oait.app"><span>Powered by <bdi lang="en" translate="no">OAIT</bdi></span></a> at <a class="oa-footer__legal-link" href="https://gu.edu.lb"><span>Global University</span></a></p>
<!-- the language switcher at the inline end (.oa-footer__lang) -->
</div>
</div>
</footer>
<div class="oa-snackbar-host" role="status" aria-live="polite"></div>The workspace columns are not a reference class: use the Tailwind grid above, or the same tracks in the page's CSS (var(--size-side-pane) and minmax(0, 1fr) from 1024px). The h1 takes .oa-page-title, the app page title of canonical §3.5 (headline-sm, then display-sm from 768px), and the lead takes .oa-supporting, both from base.css (R-75); the page's CSS only pushes "Reset demo" to the inline end of the heading row with justify-content: space-between (Tailwind: text-headline-sm md:text-display-sm, text-on-surface-variant, justify-between). The sources set no block padding for this page; like the legal pages, the frame takes --space-stack-group (32px) above the heading and --space-section (80px) below the workspace. restart_alt is the reset glyph Games uses today; the family's one-glyph table names none for reset yet (iconography).
Components used
| Part | Component | Notes |
|---|---|---|
| Header | Site header, breadcrumb (back link), language switcher | "Back to {product}" with a mirrored arrow_back |
| Safety bar | Banner (page strip) | .oa-page-strip, __chip; --warning for the private host screen |
| Heading | Button (outlined), eyebrow (typography) | "Reset demo" |
| Role picker | Chip (filter chips with icons) | [aria-pressed], single choice |
| Guide | Stepper, banner (success note), button | "Step 1 of 8" |
| Simulated screens | Card, chip (info status chip "DEMO · …") | The product's own components inside |
| Training | Hero split (layout), card, banner, checkbox | Role guide and checklist |
| Footer | Footer (the legal bar, after <main>) |
"Demo · This browser only", the practical line, the endorsement, and the language switcher |
Never touch live data
These rules hold in every product (canonical §11 row 10, §12.5, D-BCP-23):
- Demo actions never touch live data. A browser simulation keeps its state in that browser only; a rehearsal runs on an isolated copy of the data. Nothing in a demo signs a real person in, scans a real badge, sends an email or a message, takes a payment, or changes a live event: "Nothing here signs in a real person, scans a real badge or changes Open Doors." (Global Games).
- Demo identifiers can never be issued. They come from ranges the real product never uses: Games' fictional badges start with "DEMO-" ("DEMO-001"); Global ID's sample cards carry 2025 numbers, a year in which no Global ID number was issued.
- Every fictional item says so in visible text. Demo names end with " (Demo)" ("Byblos Digital Studio (Demo)", Global Jobs); sample people are fictional, with regional names (Maya, Omar, Lea, Jad, Nour, Rami); a demo listing carries the notice "Demo data: this listing is sample content for testing the platform." (canonical §9, §12.5).
- The safety bar is on every page of the mode, including simulated phones and the demo's public stage, whose own strip reads "DEMO · Browser simulation" and whose footer reads "Public display · No scanner, admin or host controls".
- "Reset demo" is always visible. It returns every demo screen in this browser to its start at once; nothing real is lost, so it asks no question. Focus moves to the page's h1.
- Say what the demo does not prove (see the training guide's limits), so a simulated success is never mistaken for a tested event.
- A private screen used during practice carries the warning-tone page strip: "Private host desk" · "Keep this screen off the projector. Answer keys and controls are private." (canonical §10.22).
Content
| Element | Rule | Examples (Global Games) |
|---|---|---|
| Safety bar | "Practice only · {what is fictional} · {what does not change}" after the "DEMO" chip | "Practice only · Fictional visitors · No real scores or Global ID changes" |
| Reassurance | What a demo action never does, in one sentence | "Demo actions do not change the live event, award real points or use real badges." |
| Scope line | How long, how many, what is fictional | "About 10 minutes · 6 fictional visitors · 7 event roles" |
| Step count | "Step {n} of {total}" | "Step 6 of 8" |
| Guide boxes | "What to do", "What you should see", "If stuck" | "Every screen stays labeled DEMO. Fictional visitor badges start with DEMO-." |
| Actions | Verb first, the glossary's words | "Start the guided demo", "Next step", "Previous step", "Hide walkthrough", "Reset demo", "Back to Global Games" |
| Footer | The mode and where its data lives | "Demo · This browser only" |
- Spell it the US way: "practice" as noun and verb ("Practise the whole event" becomes "Practice the whole event"), "organizer", "labeled" (canonical §12.2, GG-2.20).
- Write "and", not "&": "Meal and photo desk" (canonical §12.2). Keep each role label to one to three words.
- Name the place the guide refers to as it appears on screen, in quotation marks only when it is a label to find: choose "Start the guided demo".
| English | Arabic (Global Games) |
|---|---|
| DEMO | تجريبي |
| Practice only · Fictional visitors · No real scores or Global ID changes | للتدريب فقط · زوّار افتراضيون · لا يغيّر النقاط الحقيقية أو Global ID |
| Reset demo | إعادة ضبط العرض |
| Next step · Previous step | الخطوة التالية · الخطوة السابقة |
| Demo · This browser only | تجريبي · هذا المتصفح فقط |
These ship in Global Games' Arabic demo; the table was read from the rendered Arabic page, so take the strings from Games' own messages when you build. In Arabic the product name stays Latin inside <bdi lang="en" translate="no"> (canonical §1.2). French is not shipped yet; it follows the product's French rollout (canonical §14.1).
States
| State | What the page shows |
|---|---|
| Start | The start card: what the demo is, the scope line, "Start the guided demo" as the one filled lg button |
| Walkthrough step | The guide at "Step n of 8", the role pressed in the picker, the simulated screen in its labeled card |
| Role switched | The workspace shows that role; the guide follows; focus stays on the pressed tile |
| Waiting inside a simulated screen | Words with a spinner: "Preparing your demo…" (Global Games) |
| Blocked step | A neutral or warning banner in the workspace that says what to do: "Qualification is still open. Freeze it in the organizer view, or load the ready-to-run example below." |
| Reset | Every screen back to its start; focus on the h1 |
| Walkthrough hidden | The guide collapses to its toggle, which then reads "Show walkthrough" (this pattern's wording: the evidence has only "Hide walkthrough"); the toggle keeps [aria-expanded]; the safety bar stays |
Accessibility
- The safety bar is plain text under the header: a screen reader reads it after the header on every page; it has no live role and takes no focus (canonical §10.22).
- The role picker is a labeled group of toggle buttons with
[aria-pressed]; arrow keys are not needed, Tab moves between tiles. The pressed tile also shows acheckin place of its icon, so it does not rely on color (canonical §10.0). - The guide's stepper text ("Step 6 of 8") is real text; its segmented bar is hidden from screen readers. When the step changes, focus moves to the step's heading (canonical §10.18).
- "Open demo stage in another tab" announces the new tab with hidden "(opens in a new tab)" and the
north_eastglyph (canonical §8.4, §10.3). - Targets: tiles, chips, buttons, and the back link are 48px or more (canonical §4.6).
RTL and languages
- The guide aside sits at the inline start, at the right in Arabic; the workspace grid mirrors through logical tracks.
- "Back to Global Games" uses the mirrored
arrow_back, pointing right in Arabic; Games' forward arrow on "Back" retires (D-BCP-34, GG-2.22). - The safety bar's " · " separators and the Latin "Global ID" sit inside isolates in Arabic.
- Digits stay Western in Arabic: "نحو 10 دقائق", never Eastern digits (canonical §14.3).
- Arabic strings take their own line heights from the
:lang(ar)block; labels never shrink to fit.
Do and don't
| Do | Don't |
|---|---|
| The safety bar on every page, over every simulated screen | A one-time notice that disappears after the first page |
| "DEMO-001" identifiers that can never be issued | Realistic numbers that could belong to a person |
| "Byblos Digital Studio (Demo)" | A fictional company with no label |
| "Reset demo" always visible | A reset hidden in a menu |
"Back to Global Games" with arrow_back |
"Back to Global Games" with a forward arrow |
| Say what the demo does not prove | Let a simulated success stand in for a rehearsal |
Best current example
Global Games' /demo (1440px screenshot) is the family's model, and its source: the "DEMO" chip and "Practice only · Fictional visitors · No real scores or Global ID changes" bar under the header, the "Open Doors · Operations demo" heading with "Reset demo", the eight-role picker, the "Guided walkthrough" aside with "Step 1 of 8", "What to do", and the mint "What you should see" box, the start card with "No sign-in or real badge needed" and "About 10 minutes · 6 fictional visitors · 7 event roles", and the footer "DEMO · This browser only". Step 6 (1440px screenshot) shows the host role with its "DEMO · Private demo host desk" card and "Next step" / "Previous step"; the Arabic version (1440px screenshot) mirrors the page. Global Games' /training (1440px screenshot) is the model training guide: "Know where to go. Know what to do.", the lilac demo card with "Start the interactive demo", the "Live event guide" notice, and the role tiles.
What changes: the peach header band becomes the site header, the lilac bar becomes the info-tone page strip (GG-2.05, GG-2.26), "Back to Global Games" takes arrow_back (GG-2.22), the skip link is added (GG-1.07), the buttons take the family's one filled style (GG-1.01), the 44px controls grow to 48px (GG-1.03), the guide's native progress bar becomes the stepper's segmented bar (GG-1.14), the bordered footer row becomes the family footer's legal bar with the endorsement line, Eastern digits in the Arabic scope line become Western, and UK spellings ("Practise", "organiser", "labelled") become US (GG-2.20).
Reference template
No reference page template ships for this pattern in 1.0.0; the Skeleton above and the page strip in the feedback snippet are the starting point.
Related
- Large-display stage: the demo's public stage and the private host desk.
- Feedback and status: page strips and notices.
- Navigation and information architecture: the way back to the product.
- Imagery: sample people and illustrative previews.