This example is rendered from the same package consumed by UJ applications.
Contract
Usage and quality requirements
The contract keeps purpose, states and ownership visible before a component is reused.
usage
Use for the Staff-owned profile information workflow
Identify the selected person once inside the editor
Compose fields from UjField, UjFieldset, UjProfileEditorMedia and native UJ controls
Give every navigation item a matching fieldset id
Explain visibility once in guidance rather than repeating it for every control
Pass progress and status already calculated by the owning application
Keep authorization, validation, persistence and review transitions outside the component
states
default
with identity
with section navigation
with progress details
with status
with feedback
busy
dirty draft
saved draft
awaiting submission
validation failure
long content
narrow viewport
dark theme
forced colours
print
purpose
Provide one consistent, accessible editing shell for staff-authored profile information while the Staff application retains ownership of identity, permissions, validation, persistence, review and publication.
responsive
Desktop uses a sticky section rail and action dock
Section navigation and actions return to normal flow below the desktop breakpoint
Identity and media layouts stack at narrow widths
Actions wrap without horizontal page overflow
320px
768px
1440px
200% text resize
accessibility
Form is named by its visible heading
Section navigation targets native fieldsets
Section state is written as text and never conveyed by colour alone
Progress has an explicit accessible label
Busy state uses aria-busy
Status and feedback remain application-supplied semantic content
Action group remains keyboard operable
Logical heading and source order
WCAG 2.2 AA
runtime Boundary
The component performs no fetching, scrolling state, upload, validation, persistence, authorization, review transition, publication or completeness calculation.
source Authority
Staff profile workflow and Corporate Identity presentation contract