Icons, imagery, and data visualization
Functional icon usage, truthful screenshots, licensed photography, and accessible financial graphics.
Purpose before decoration
Section titled “Purpose before decoration”Omni uses imagery to explain an operation, establish context, or communicate evidence. An icon is not a substitute for a precise action label or a documented business state. The reference lock favors functional media and real product evidence over decorative compositions. This page defines policy targets and records inspected implementation; it is not a media-rights audit.
Observed icon contract
Section titled “Observed icon contract”frontend/src/components/ui/AppIcon.vue owns the ERP icon registry.
Its props are name, size, spin, and pulse; the default size is 18.
The rendered SVG uses a 24-by-24 view box, currentColor, and a two-unit stroke.
The SVG is aria-hidden="true" and focusable="false", so its parent must supply meaningful naming.
An unknown name produces an empty SVG and a development warning, not a replacement symbol.
Check the registry before choosing a name; known examples include plus, x, inbox, and chevron-down.
| Situation | Do | Do not |
|---|---|---|
| Add a record | Pair plus with a localized action label | Rely on the symbol to explain the resource |
| Close a panel | Give the button a localized accessible name | Assume AppIcon names the button |
| Expand content | Keep state and control relationship available to assistive technology | Use a chevron as the only state indication |
| Status | Pair icon/color with a textual status | Communicate overdue status through red alone |
| Busy action | Keep the action text while indicating progress | Replace the label with an unexplained spinner |
Sizing, motion, and interaction
Section titled “Sizing, motion, and interaction”Use a consistent icon size within a toolbar; scale only when the role changes.
The icon’s visual size is not the button’s pointer target: measure the surrounding interactive box.
Align icons optically with text without changing the SVG geometry for individual pages.
Do not mix emoji, arbitrary third-party icon sets, and AppIcon for the same action vocabulary.
The inspected spin and pulse classes include reduced-motion alternatives.
This observation does not prove that every spinner in the application respects reduced motion.
Repeated icon-only actions need distinct accessible names, such as “Open invoice INV-1042”.
Use BaseTooltip for a short visual hint, but verify the actual focus and description relationship.
Tooltips must not carry the only explanation of a destructive consequence.
Screenshots as evidence
Section titled “Screenshots as evidence”Capture a real supported route with sanitized, permission-appropriate records. Record capture date, locale, theme, viewport, and product revision alongside published evidence. Use a concise caption stating the task and state, not “Screenshot of the application”. For instructional captures, describe the relevant result in adjacent text so the image is not mandatory. Do not fabricate a financial screen from loosely arranged boxes or claim an unreleased screen is available.
| Check | Required action | Unsafe shortcut |
|---|---|---|
| Privacy | Remove personal data, bank details, tokens, and tenant identifiers | Blur one field while leaving identifying context |
| Authenticity | Identify illustrative sandbox records as such | Present sample balances as a customer outcome |
| Relevance | Capture the current state needed for the instruction | Reuse an obsolete screenshot after a workflow change |
| Cropping | Keep the context needed to understand the action | Crop away a warning or permission limitation |
| Alternative text | Explain information not already in the caption | Repeat every visible label without purpose |
Photography and illustration
Section titled “Photography and illustration”Use licensed assets with recorded source, permitted channels, expiry, and consent where relevant. Represent work roles inclusively without implying that age, gender, or appearance determines authority. Employee portraits, candidate profiles, and assessment evidence are not general marketing assets. Avoid photos of bank cards, identity documents, or screens containing readable personal information. If an illustration is unnecessary for the task, prefer whitespace and clear hierarchy. No new logo or diagram assets are required by this documentation set.
Data visualization contract
Section titled “Data visualization contract”Every chart must state the measure, unit, period, scope, source, and freshness. Distinguish booked, paid, forecast, and budget values rather than blending them into “revenue”. Show whether a balance is in transaction currency or reporting currency. Disclose excluded records and incomplete periods where they change interpretation. Never turn missing data into a zero-length bar without an explicit missing-data label.
| Comparison | Preferred form | Safety requirement |
|---|---|---|
| Categories | Bars with direct labels | Usually start quantitative bar axes at zero |
| Trend | Line with dated axis | Explain gaps, forecast segments, and any truncated range |
| Composition | Stacked bars for a manageable set | Preserve readable labels and an accessible table |
| Variance | Diverging values around a stated baseline | Explain whether positive means favorable in this metric |
| Exact reconciliation | Table with totals and differences | Do not make a chart the only route to exact amounts |
Do not reserve green for all increases: higher overdue debt is not a success. Use line style, markers, labels, or patterns as well as color to distinguish series. Expose essential hover information through keyboard interaction or an adjacent data table. Supply a plain-language summary describing the conclusion and important limitations. Review grayscale print, forced colors, and dark theme separately; automatic palette inversion is insufficient.
Acceptance criteria
Section titled “Acceptance criteria”- All referenced icon names exist and every icon-only action has a meaningful accessible name.
- Motion settings, narrow layouts, and pointer-target dimensions are checked in rendered states.
- Media rights, consent, capture metadata, and sanitization are recorded.
- No screenshot or graph implies functionality or financial evidence that has not been established.
- Charts identify units, periods, source, missing data, and non-color distinctions.
- Exact figures remain available without hover, animation, or visual interpretation.
- Localized captions and alternative text preserve the same operational meaning.
Use brand for identity placement and accessibility for test requirements.