VERIFICATION-0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
Error · Extended localized content for verification and layout resilience
Could not save changes
Reference AG-4F82C
<forma-fault>
Common safe presentation shell for an Aegis Presentation.T without exposing raw fault diagnostics.
<forma-fault>patterns/fault.htmlThe fault shell is the shared visual vocabulary of the Aegis fault family: a non-color marker, a visible severity label, a title, a safe user-facing message, a quotable reference and a region of recovery actions. It renders the fields of Aegis Presentation.T that the application has already mapped into markup. Forma never receives the raw fault, never chooses the severity or intent, and never decides which recovery actions exist; the application or Limen does that upstream and Forma only presents the result.
forma-fault__severity and repeated structurally by the start border style: dotted for diagnostic, dashed for warning, solid for error, and a wider border plus outline for critical.aria-hidden) and uses a glyph and a ring shape, never color alone.data-forma-aegis-capability. The attribute describes intent; it is not authorization.The smallest correct markup: the canonical pattern from patterns/fault.html inside its public tag. Copy this first, then adapt labels, names and state.
Rendered from the canonical pattern file.
Static specimen. Its buttons stand for application actions that the consuming application implements; this script-free documentation does not perform them. Its controls are shown for their markup and appearance and cannot be operated here.
Error
Reference AG-4F82C
<forma-fault class="forma-component-tag">
<section
class="forma-fault"
data-forma-intent="inline"
data-forma-severity="error"
aria-labelledby="fault-title"
aria-describedby="fault-message">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<h3 class="forma-fault__title" id="fault-title">Could not save changes</h3>
<p class="forma-fault__message" id="fault-message">The update did not complete. Your current values are still available.</p>
<p class="forma-fault-reference">Reference <code>AG-4F82C</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions">
<button type="button" data-forma-aegis-capability="CanRetry">Try again</button>
</div>
</section>
</forma-fault>
Click or tap the code once to select all of it, then copy.
A warning-severity fault in a record panel. Aegis supplied two capabilities, so two native buttons are rendered in the order given. The dashed start border repeats the Warning label structurally.
Static specimen. Its buttons stand for application actions that the consuming application implements; this script-free documentation does not perform them. Its controls are shown for their markup and appearance and cannot be operated here.
Warning
Reference AG-3JH71
<forma-fault class="forma-component-tag">
<section class="forma-fault" data-forma-intent="inline" data-forma-severity="warning" aria-labelledby="fault-warning-two-actions-title" aria-describedby="fault-warning-two-actions-message">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Warning</p>
<h3 class="forma-fault__title" id="fault-warning-two-actions-title">Your session has expired</h3>
<p class="forma-fault__message" id="fault-warning-two-actions-message">Sign in again to keep editing, or open the record read-only. Unsaved changes are kept on this device.</p>
<p class="forma-fault-reference">Reference <code>AG-3JH71</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions">
<button type="button" data-forma-aegis-capability="CanReauthenticate">Sign in</button>
<button type="button" data-forma-aegis-capability="CanOpenReadOnly">Open read-only</button>
</div>
</section>
</forma-fault>
Click or tap the code once to select all of it, then copy.
Critical severity widens the start border and adds an outline so the level stays distinguishable in grayscale and forced colors. Visual weight is not a substitute for the Critical text label, which remains first in the body.
Static specimen. Its buttons stand for application actions that the consuming application implements; this script-free documentation does not perform them. Its controls are shown for their markup and appearance and cannot be operated here.
Critical
Reference AG-9QX4L
<forma-fault class="forma-component-tag">
<section class="forma-fault" data-forma-intent="inline" data-forma-severity="critical" aria-labelledby="fault-critical-reload-title" aria-describedby="fault-critical-reload-message">
<div class="forma-fault__marker" aria-hidden="true">!!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Critical</p>
<h3 class="forma-fault__title" id="fault-critical-reload-title">Workspace data is out of date</h3>
<p class="forma-fault__message" id="fault-critical-reload-message">This panel can no longer confirm the latest ledger totals. Reload to fetch a verified copy.</p>
<p class="forma-fault-reference">Reference <code>AG-9QX4L</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions">
<button type="button" data-forma-aegis-capability="CanReload">Reload</button>
</div>
</section>
</forma-fault>
Click or tap the code once to select all of it, then copy.
Aegis supplied no recovery capability, so the recovery region is omitted entirely instead of showing a disabled or invented action. The dotted start border marks the Diagnostic level.
Diagnostic
Reference AG-0M5TR
<forma-fault class="forma-component-tag">
<section class="forma-fault" data-forma-intent="inline" data-forma-severity="diagnostic" aria-labelledby="fault-diagnostic-no-actions-title" aria-describedby="fault-diagnostic-no-actions-message">
<div class="forma-fault__marker" aria-hidden="true">i</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Diagnostic</p>
<h3 class="forma-fault__title" id="fault-diagnostic-no-actions-title">Preview thumbnails were skipped</h3>
<p class="forma-fault__message" id="fault-diagnostic-no-actions-message">Two attachments are shown without previews. The files themselves are unaffected.</p>
<p class="forma-fault-reference">Reference <code>AG-0M5TR</code></p>
</div>
</section>
</forma-fault>
Click or tap the code once to select all of it, then copy.
Each mobile example renders in its own document inside a real narrow viewport, so Forma's media and container queries run exactly as they would on a phone. Choose a width to compare.
An error with a long translated title and a long reference at phone width. The actions column drops below the body and each button spans the full width.
Static specimen. Its buttons stand for application actions that the consuming application implements; this script-free documentation does not perform them. Its controls are shown for their markup and appearance and cannot be operated here.
<forma-fault class="forma-component-tag">
<section class="forma-fault" data-forma-intent="inline" data-forma-severity="error" aria-labelledby="fault-mobile-long-content-title" aria-describedby="fault-mobile-long-content-message">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<h3 class="forma-fault__title" id="fault-mobile-long-content-title">Die Änderungen an den Rechnungsempfängern konnten nicht gespeichert werden</h3>
<p class="forma-fault__message" id="fault-mobile-long-content-message">Ihre Eingaben sind weiterhin verfügbar.</p>
<p class="forma-fault-reference">Reference <code>AG-4F82C-BILLING-RECIPIENTS-2026</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions">
<button type="button" data-forma-aegis-capability="CanRetry">Erneut versuchen</button>
<button type="button" data-forma-aegis-capability="CanReload">Neu laden</button>
</div>
</section>
</forma-fault>
Click or tap the code once to select all of it, then copy.
The canonical pattern in a true 320px viewport, the minimum width every Forma component must support without page-level horizontal scrolling.
Static specimen. Its buttons stand for application actions that the consuming application implements; this script-free documentation does not perform them. Its controls are shown for their markup and appearance and cannot be operated here.
Forma components have no JavaScript API. Their public contract is the markup: native elements and attributes you write, and the CSS hooks below. The CSS hook table is generated from the built stylesheet, so it always matches the shipped implementation.
| Attribute | On | Values | Default | Description |
|---|---|---|---|---|
data-forma-severity | .forma-fault | diagnostic | warning | error | critical | absent (solid error-style border) | The Aegis severity, lowercased. Changes the start-border style; it must always be paired with the visible severity text. |
data-forma-intent | .forma-fault | inline | notification | banner | blocking | — | Records the Aegis intent the application mapped. Descriptive only; Forma CSS does not style it. |
aria-labelledby | .forma-fault | id of .forma-fault__title | — | Names the fault region by its title. |
aria-describedby | .forma-fault | id of .forma-fault__message | — | Associates the safe user-facing message as the region's description. |
aria-hidden | .forma-fault__marker | true | — | Required. The marker glyph repeats the severity visually and must not be read aloud. |
role | .forma-recovery-actions | group | — | Groups the recovery buttons so assistive technology announces them together. |
aria-label | .forma-recovery-actions | string | — | Names the recovery group, for example "Recovery actions". |
type | button | button | — | Required on every recovery button so it never submits an enclosing form. |
data-forma-aegis-capability | button | Aegis capability case name, e.g. CanRetry | — | The exact Aegis capability the button represents. Describes intent to application code; it is not authority and must be revalidated on activation. |
| Hook | Kind | Values or default | Description |
|---|---|---|---|
.forma-fault | Block class | — | Root. A three-column grid (marker, body, recovery actions) with a thick start border and a primary surface. |
.forma-fault__body | Element class | — | Text column for severity, title, message and reference. It shrinks to zero minimum width so long content wraps. |
.forma-fault__marker | Element class | — | Decorative round marker holding a short glyph such as ! or !!. Shape and glyph, not color, carry the cue. |
.forma-fault__message | Element class | — | The safe user-facing message from Aegis. |
.forma-fault__severity | Element class | — | Visible severity label in small uppercase monospace. Always present. |
.forma-fault__title | Element class | — | The Aegis title. Use a heading or a paragraph with strong text depending on the surrounding outline. |
.forma-fault--inline | Modifier class | — | Operation-local variant used by Fault inline: tighter padding and the secondary surface so it reads as part of the affected region. |
[data-forma-severity] | Attribute hook | "critical", "diagnostic", "warning" | diagnostic gives a dotted start border, warning dashed, critical a wider border plus an offset outline; error (or absent) keeps the solid default. |
| Keys | Result |
|---|---|
| Tab / Shift+Tab | Moves between recovery buttons. The fault region itself is not focusable and never takes focus when it appears. |
| Enter / Space | Activates the focused recovery button (native button behavior). |
| Event | Description |
|---|---|
click | Native click on a recovery button. Application or Limen code reads data-forma-aegis-capability, revalidates the capability and application state, then issues a typed recovery request. |
Not a form control. Recovery buttons use type="button" and never submit or reset an enclosing form.
| State | How it is expressed | Presentation |
|---|---|---|
| Diagnostic | data-forma-severity="diagnostic" plus the text Diagnostic | Dotted start border. Lowest severity; often no recovery actions. |
| Warning | data-forma-severity="warning" plus the text Warning | Dashed start border. |
| Error | data-forma-severity="error" plus the text Error | Solid 0.35rem start border (the default). |
| Critical | data-forma-severity="critical" plus the text Critical | Solid 0.55rem start border and a 1px outline offset by 2px. |
| No recovery available | omit the .forma-recovery-actions group | The grid keeps its layout; nothing is shown in the action column. Do not render disabled placeholder actions. |
Presentation.T; never bind raw fault fields, stack traces or exception details.auto minmax(0, 1fr) auto; the body column absorbs remaining width and long text wraps inside it.prefers-reduced-motion: reduce.Generated fault-injection specimens expose content, spacing, color-cue, and reduced-effective-contrast risks. They screen presentation robustness as engineering screens without claiming human-subject validation.