VERIFICATION-0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
Error · Extended localized content for verification and layout resilience
Profile was not saved.
Reference AG-4F82C
<forma-fault-inline>
Operation-local Aegis fault presentation with reference and legal recovery actions.
<forma-fault-inline>patterns/fault-inline.htmlAn inline fault presents an Aegis presentation whose intent is Inline: the failure belongs to one operation, field or region and is shown right next to it. It uses the Fault shell with the forma-fault--inline modifier, which tightens padding and uses the secondary surface so the fault reads as part of the affected area. It never announces itself globally or steals focus; instead the affected control or region points at it with aria-describedby, so the fault is read when the user reaches that control. The application renders it, supplies the recovery actions Aegis derived, and removes it when the fault resolves.
Inline for a failure tied to one save, upload, row or form section.aria-describedby makes it discoverable.data-forma-aegis-capability.The smallest correct markup: the canonical pattern from patterns/fault-inline.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
Profile was not saved.
Reference AG-4F82C
<forma-fault-inline class="forma-component-tag">
<div
class="forma-fault forma-fault--inline"
id="profile-save-fault"
data-forma-intent="inline"
data-forma-severity="error"
aria-labelledby="profile-save-fault-title">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<p class="forma-fault__title" id="profile-save-fault-title"><strong>Profile was not saved.</strong></p>
<p class="forma-fault__message">Check your connection and try again.</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>
</div>
</forma-fault-inline>
Click or tap the code once to select all of it, then copy.
An autosaved field whose last save failed. The input lists the fault in aria-describedby after its own help text, so a screen reader announces the failure when the field is focused, without any global announcement.
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
Billing contact was not saved.
Reference AG-7TT2Q
<forma-fault-inline class="forma-component-tag">
<div class="forma-field">
<label class="forma-field__label" for="fault-inline-field-save-input">Billing contact</label>
<span class="forma-field__description" id="fault-inline-field-save-help">Receives invoices and payment reminders.</span>
<input id="fault-inline-field-save-input" name="billing-contact" type="email" value="finance@example.com" aria-describedby="fault-inline-field-save-help fault-inline-field-save-fault">
</div>
<div class="forma-fault forma-fault--inline" role="group" id="fault-inline-field-save-fault" data-forma-intent="inline" data-forma-severity="error" aria-labelledby="fault-inline-field-save-title">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<p class="forma-fault__title" id="fault-inline-field-save-title"><strong>Billing contact was not saved.</strong></p>
<p class="forma-fault__message">Your value is still in the field. Try again when you are back online.</p>
<p class="forma-fault-reference">Reference <code>AG-7TT2Q</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions for billing contact">
<button type="button" data-forma-aegis-capability="CanRetry">Try again</button>
</div>
</div>
</forma-fault-inline>
Click or tap the code once to select all of it, then copy.
A warning inside a batch detail region. Aegis supplied two capabilities, Process again and Set aside, which are rendered with their default labels. The region's aria-describedby points at the fault.
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.
412 invoices received from the supplier feed.
Warning
7 invoices could not be read.
Reference AG-61KDA
<forma-fault-inline class="forma-component-tag">
<section aria-labelledby="fault-inline-import-row-heading" aria-describedby="fault-inline-import-row-fault">
<h3 id="fault-inline-import-row-heading">Batch 2026-09-29-B</h3>
<p>412 invoices received from the supplier feed.</p>
<div class="forma-fault forma-fault--inline" role="group" id="fault-inline-import-row-fault" data-forma-intent="inline" data-forma-severity="warning" aria-labelledby="fault-inline-import-row-title">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Warning</p>
<p class="forma-fault__title" id="fault-inline-import-row-title"><strong>7 invoices could not be read.</strong></p>
<p class="forma-fault__message">The rest of the batch was imported. You can process the 7 again or set them aside for review.</p>
<p class="forma-fault-reference">Reference <code>AG-61KDA</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions for batch 2026-09-29-B">
<button type="button" data-forma-aegis-capability="CanReprocess">Process again</button>
<button type="button" data-forma-aegis-capability="CanQuarantine">Set aside</button>
</div>
</div>
</section>
</forma-fault-inline>
Click or tap the code once to select all of it, then copy.
Aegis supplied no recovery capability for this operation, so the recovery group is omitted. The message tells the user what remains true instead of offering an action that would be refused.
Error
Signature request was not sent.
Reference AG-2WPZ8
<forma-fault-inline class="forma-component-tag">
<div class="forma-fault forma-fault--inline" role="group" data-forma-intent="inline" data-forma-severity="error" aria-labelledby="fault-inline-no-recovery-title">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<p class="forma-fault__title" id="fault-inline-no-recovery-title"><strong>Signature request was not sent.</strong></p>
<p class="forma-fault__message">The document is unchanged. An administrator has been notified.</p>
<p class="forma-fault-reference">Reference <code>AG-2WPZ8</code></p>
</div>
</div>
</forma-fault-inline>
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 upload fault inside a narrow form. The two recovery buttons stack at full width beneath the message.
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-inline class="forma-component-tag">
<div class="forma-fault forma-fault--inline" role="group" data-forma-intent="inline" data-forma-severity="error" aria-labelledby="fault-inline-mobile-upload-title">
<div class="forma-fault__marker" aria-hidden="true">!</div>
<div class="forma-fault__body">
<p class="forma-fault__severity">Error</p>
<p class="forma-fault__title" id="fault-inline-mobile-upload-title"><strong>receipt-scan-september.pdf did not upload.</strong></p>
<p class="forma-fault__message">Your sign-in expired during the upload.</p>
<p class="forma-fault-reference">Reference <code>AG-5CN0V</code></p>
</div>
<div class="forma-recovery-actions" role="group" aria-label="Recovery actions for receipt upload">
<button type="button" data-forma-aegis-capability="CanRetry">Try again</button>
<button type="button" data-forma-aegis-capability="CanReauthenticate">Sign in</button>
</div>
</div>
</forma-fault-inline>
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 |
|---|---|---|---|---|
id | .forma-fault | unique id | — | Lets the affected control or region reference the fault with aria-describedby. |
aria-describedby | affected control or region | id of the .forma-fault | — | Associates the fault with the control it is about. Append it after any existing help-text id. |
role | .forma-fault / .forma-recovery-actions | group | — | A group role makes the fault container nameable with aria-labelledby; the recovery container is also a group. |
aria-labelledby | .forma-fault | id of .forma-fault__title | — | Names the fault group by its title. |
data-forma-severity | .forma-fault | diagnostic | warning | error | critical | absent (error style) | Aegis severity; selects the start-border style. Always paired with visible text. |
data-forma-intent | .forma-fault | inline | — | Records that Aegis chose the Inline intent. Descriptive only. |
aria-hidden | .forma-fault__marker | true | — | Hides the decorative marker glyph from assistive technology. |
aria-label | .forma-recovery-actions | string | — | Names the recovery group; include the affected object when several inline faults are on one page. |
type | button | button | — | Required so recovery buttons inside a form never submit it. |
data-forma-aegis-capability | button | Aegis capability name | — | Exact Aegis capability identity. Not authorization; revalidate on click. |
| Hook | Kind | Values or default | Description |
|---|---|---|---|
.forma-fault--inline | Modifier class | — | Applied with forma-fault. Tighter 0.75rem padding and the secondary surface so the fault sits inside the affected region. |
.forma-fault | Block class | — | The shared fault grid: marker, body and recovery columns with a severity-styled start border. See Fault. |
.forma-fault__marker | Element class | — | Decorative marker glyph in a ring. |
.forma-fault__body | Element class | — | Text column that wraps long content. |
.forma-fault__severity | Element class | — | Visible severity label. |
.forma-fault__title | Element class | — | The Aegis title; in inline use a paragraph with strong text is typical so the page outline is not disturbed. |
.forma-fault__message | Element class | — | Safe user-facing message. |
[data-forma-severity] | Attribute hook | — | Selects dotted (diagnostic), dashed (warning), solid (error) or wide-plus-outline (critical) start border. |
| Keys | Result |
|---|---|
| Tab / Shift+Tab | Moves through the affected control and then the recovery buttons in source order. The fault never receives focus by itself. |
| Enter / Space | Activates the focused recovery button (native button behavior). |
| Event | Description |
|---|---|
click | Native click on a recovery button. The application maps it to a typed recovery request after revalidating the capability. |
The fault is not a form control. Recovery buttons are type="button" so they never submit the surrounding form; the affected input keeps its own value and validity.
| State | How it is expressed | Presentation |
|---|---|---|
| Present | rendered by the application | The fault is in the DOM next to the affected region, described by it, and silent until reached. |
| Severity | data-forma-severity plus visible text | Diagnostic, Warning, Error or Critical, each with its own start-border style. |
| No recovery | omit .forma-recovery-actions | Only the message and reference are shown. |
| Resolved | removed by the application | When Aegis reports the fault resolved, the application removes the fault and the aria-describedby reference together. |
minmax(0, 1fr)) and actions on wide viewports.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.