Skip to main content
Corporate IdentityUniversity of Johannesburg
Settings
Appearance
Design
Menu

Forms

Error summary

Summarise validation failures and link people to each invalid field.

stable@uj/design/componentsVersion 1.16.1Package 1.16.1

Production component

Live preview

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 verified UJ content
  • Reuse semantic tokens
  • Keep business logic in the owning application

states

  • default
  • focus-visible
  • disabled or unavailable where applicable
  • long content
  • narrow viewport
  • dark theme

purpose

Summarise validation failures and link people to each invalid field.

responsive

  • 320px
  • 768px
  • 1440px
  • 200% text resize

accessibility

  • Native semantics first
  • WCAG 2.2 AA
  • Keyboard and touch operation
  • No colour-only meaning