Application
13 / 13
Accessibility
The interface has to work with a keyboard, a screen reader, and on a dim screen. The rules below apply to every new page.
Contrast
The minimum for text is 4.5 : 1. Ratios are calculated live from the active theme.
-
Main text
foreground on background
–
-
Supporting text
muted-foreground on background
–
-
Accent and eyebrow
primary on background
–
-
Primary button text
primary-foreground on primary
–
-
Supporting text on cards
muted-foreground on card
–
-
Footer text
background on foreground
–
Rules
Checked on every new page and component.
-
Keyboard focus
Always visible
Buttons and fields use a 3px focus ring. The browser outline is never removed without a replacement.
-
Touch targets
At least 36 × 36px
This also applies to buttons that hold only a small icon.
-
Color
Never the only cue
Links stay underlined and error messages are always written as text.
-
Motion
Respects reduced motion
Animation is turned off when the user asks for it on their device.
-
Language
Marked on every page
Screen readers use the right pronunciation for the Indonesian and English versions.