UI/UX Pro Max
Standard rules for world-class user interfaces.
1. Accessibility (CRITICAL)
- •Contrast: Minimum 4.5:1 for normal text.
- •Touch Targets: Minimum 44x44px for buttons on mobile.
- •Aria Labels: Required for icon-only buttons.
- •Keyboard: Visible focus rings for all interactive elements.
2. Interaction Design
- •Loading States: Disable buttons during async operations.
- •Feedback: Provide immediate visual/haptic feedback on interaction.
- •Empty States: Always design for "no data" scenarios.
3. Performance
- •Cumulative Layout Shift (CLS): Reserve space for images and ads.
- •Images: Use WebP/AVIF and proper
sizesattribute. - •Animations: Use
transformandopacityto avoid layout thrashing.
4. Typography
- •Hierarchy: Clear distinction between H1, H2, and body.
- •Readability: 16px minimum font size for mobile inputs.
- •Line Height: 1.5 - 1.6 for body text.