Clarify text and dialogue based accessibility
Build and publish frontend / publish (push) Successful in 50s
Build and publish frontend / publish (push) Successful in 50s
This commit is contained in:
@@ -4,7 +4,7 @@ This repository contains the static Swedish web client for the AI-driven life si
|
|||||||
|
|
||||||
Players provide a character biography, not a world description. The client asks the backend to create a biography-based starting place. It does not preview a person the player may meet; encounters belong to later world exploration.
|
Players provide a character biography, not a world description. The client asks the backend to create a biography-based starting place. It does not preview a person the player may meet; encounters belong to later world exploration.
|
||||||
|
|
||||||
Place descriptions are available as text with separate visual, sound, smell, air/temperature, touch/surface, and spatial-orientation cues so important scene information does not depend on sight. The current product has no image input or image interpretation flow; these cues are generated as part of the place proposal.
|
The game is text- and dialogue-based and uses no images. Place descriptions include sound, smell, air/temperature, touch/surface, and spatial-orientation cues. Visible details may also be described in words, but are never required to understand the scene or play.
|
||||||
|
|
||||||
The browser and API stay on the same public origin, `https://ai-spel.k3s.k0.nu`. The ingress routes `/` to this frontend service and routes `/api`, `/version`, and `/health` to the Rust service. That keeps the current server-side session cookie same-origin and avoids browser CORS configuration.
|
The browser and API stay on the same public origin, `https://ai-spel.k3s.k0.nu`. The ingress routes `/` to this frontend service and routes `/api`, `/version`, and `/health` to the Rust service. That keeps the current server-side session cookie same-origin and avoids browser CORS configuration.
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -29,6 +29,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<h1>En värld du formar</h1>
|
<h1>En värld du formar</h1>
|
||||||
|
<p>Spelet är text- och dialogbaserat och använder inga bilder. Miljöer beskrivs med ljud, dofter, temperatur, beröring och orientering, inte bara med synintryck.</p>
|
||||||
<p>Skapa en vuxen person och forma en egen vardag. AI-förslag sparas inte förrän du har granskat och godkänt dem.</p>
|
<p>Skapa en vuxen person och forma en egen vardag. AI-förslag sparas inte förrän du har granskat och godkänt dem.</p>
|
||||||
<p id="status" role="status" aria-live="polite"></p>
|
<p id="status" role="status" aria-live="polite"></p>
|
||||||
<section id="auth" aria-labelledby="auth-heading">
|
<section id="auth" aria-labelledby="auth-heading">
|
||||||
@@ -60,7 +61,7 @@
|
|||||||
<h3 id="place-heading"></h3><p id="place-description"></p>
|
<h3 id="place-heading"></h3><p id="place-description"></p>
|
||||||
<h4>Platsens sinnesintryck</h4>
|
<h4>Platsens sinnesintryck</h4>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Synintryck</dt><dd id="sense-visual"></dd>
|
<dt>Utseende beskrivet i ord</dt><dd id="sense-visual"></dd>
|
||||||
<dt>Ljud</dt><dd id="sense-sound"></dd>
|
<dt>Ljud</dt><dd id="sense-sound"></dd>
|
||||||
<dt>Dofter</dt><dd id="sense-smell"></dd>
|
<dt>Dofter</dt><dd id="sense-smell"></dd>
|
||||||
<dt>Luft och temperatur</dt><dd id="sense-air"></dd>
|
<dt>Luft och temperatur</dt><dd id="sense-air"></dd>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ set -euo pipefail
|
|||||||
test -s index.html
|
test -s index.html
|
||||||
grep -q '<html lang="sv">' index.html
|
grep -q '<html lang="sv">' index.html
|
||||||
grep -q '<h1>En värld du formar</h1>' index.html
|
grep -q '<h1>En värld du formar</h1>' index.html
|
||||||
|
grep -q 'text- och dialogbaserat och använder inga bilder' index.html
|
||||||
grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html
|
grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html
|
||||||
grep -q "request('/version')" index.html
|
grep -q "request('/version')" index.html
|
||||||
grep -q 'id="api-version"' index.html
|
grep -q 'id="api-version"' index.html
|
||||||
|
|||||||
Reference in New Issue
Block a user