software-ui-ux-design

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Software UI/UX Design

软件UI/UX设计

Design intuitive, accessible, user-centered interfaces.
Baselines (Jan 2026):
  • Accessibility: WCAG 2.2 Level AA — W3C
  • Performance: Core Web Vitals (LCP ≤2.5s, INP ≤200ms, CLS ≤0.1) — web.dev
  • Platforms: Apple HIG, Material 3

设计直观、可访问、以用户为中心的界面。
基准要求(2026年1月):
  • 可访问性: WCAG 2.2 AA级别 — W3C
  • 性能: 核心Web指标(LCP ≤2.5秒,INP ≤200毫秒,CLS ≤0.1) — web.dev
  • 平台规范: Apple HIG, Material 3

Quick Start

快速入门

  • Clarify platform(s), primary user journey, and constraints (accessibility level, performance, localization, auth).
  • Choose track: audit an existing UI (heuristics + state matrix + WCAG) or design a new UI (IA + flows + UI spec).
  • Produce artifacts: recommendations, acceptance criteria, and a handoff spec (components, states, copy, tokens).

  • 明确目标平台、核心用户旅程及约束条件(可访问性级别、性能、本地化、认证)。
  • 选择工作路径:审核现有UI(启发式评估+状态矩阵+WCAG审查)或设计新UI(信息架构+流程+UI规范)。
  • 输出交付物:改进建议、验收标准,以及交接规范(组件、状态、文案、设计令牌)。

Decision Tree

决策树

text
Design challenge:
    ├─ What to build? → Use software-ux-research first
    ├─ Improving existing UI?
    │   ├─ Usability issues → Heuristic review
    │   ├─ Accessibility gaps → WCAG 2.2 audit
    │   ├─ Inconsistency → Design system alignment
    │   └─ Conversion issues → CRO audit
    ├─ Building new UI?
    │   └─ references/ui-generation-workflows.md
    ├─ Specific demographics?
    │   └─ references/demographic-inclusive-design.md
    └─ Platform constraints?
        ├─ Web → semantics + focus + reflow
        ├─ iOS → system nav + Dynamic Type
        └─ Android → Material + edge-to-edge

text
Design challenge:
    ├─ What to build? → Use software-ux-research first
    ├─ Improving existing UI?
    │   ├─ Usability issues → Heuristic review
    │   ├─ Accessibility gaps → WCAG 2.2 audit
    │   ├─ Inconsistency → Design system alignment
    │   └─ Conversion issues → CRO audit
    ├─ Building new UI?
    │   └─ references/ui-generation-workflows.md
    ├─ Specific demographics?
    │   └─ references/demographic-inclusive-design.md
    └─ Platform constraints?
        ├─ Web → semantics + focus + reflow
        ├─ iOS → system nav + Dynamic Type
        └─ Android → Material + edge-to-edge

Interaction Checklist

交互检查清单

GoalDoAvoid
ClarityOne primary action per viewCompeting CTAs
AffordancesNative controls, strong signifiersClickable divs, hover-only
FeedbackImmediate visual responseSilent taps
Error preventionConstrain inputs, show examplesSubmit-then-fail
Error recoverySpecific message + next step"Something went wrong"
ConsistencyReuse patterns and termsSame term, different meanings

目标建议做法避免事项
清晰性每个视图仅保留一个核心操作多个相互竞争的CTA
可操作性使用原生控件、明确的交互提示可点击div、仅悬停触发的操作
反馈性即时视觉响应无反馈的点击操作
错误预防限制输入范围、提供示例提交后才提示错误
错误恢复具体错误信息+下一步操作指引仅显示“出了点问题”
一致性复用交互模式和术语同一术语对应不同含义

State Matrix

状态矩阵

StateTreatmentWhen
LoadingPlaceholder matching layoutData fetching
EmptyMessage + CTAZero items
ErrorAlert + retry actionRequest fails
OfflineBanner + cached indicatorNo network
DegradedWarning + limited functionalityPartial failure

状态处理方式适用场景
加载中与布局匹配的占位符数据获取时
空状态提示信息+操作按钮无内容项时
错误警告提示+重试操作请求失败时
离线横幅提示+缓存标识无网络连接时
降级警告提示+受限功能部分功能失效时

Platform Constraints

平台约束

Web

网页端

  • Semantic HTML first (no "div soup")
  • ARIA only when needed
  • Manage focus on SPA navigation
  • Reflow at 320 CSS px (WCAG 1.4.10)
  • Target size ≥24px (WCAG 2.5.8)
  • 优先使用语义化HTML(避免“div嵌套地狱”)
  • 仅在必要时使用ARIA
  • 管理SPA导航时的焦点
  • 支持320 CSS px下的重排(WCAG 1.4.10)
  • 目标元素尺寸≥24px(WCAG 2.5.8)

iOS

iOS端

  • System navigation (tab bar, nav bar)
  • Dynamic Type support
  • Dark mode + system materials
  • Handle Safe Areas
  • 使用系统导航(标签栏、导航栏)
  • 支持动态字体
  • 适配深色模式+系统材质
  • 处理安全区域

Android

Android端

  • Material 3 components
  • Dynamic Color (Material You)
  • Edge-to-edge content
  • Handle predictive back

  • 使用Material 3组件
  • 支持动态色彩(Material You)
  • 边缘到边缘的内容布局
  • 处理预测性返回

WCAG 2.2 Key Changes

WCAG 2.2 主要变更

RequirementImplementation
Focus not obscuredKeep focus visible with sticky UI
Focus appearanceClear visible indicator
Dragging movementsNon-drag alternatives
Target size≥24×24 CSS px
Redundant entryDon't re-request known info
Accessible authAvoid cognitive tests
要求实现方式
焦点不被遮挡通过固定UI保持焦点可见
焦点外观清晰可见的焦点指示器
拖拽操作提供非拖拽替代方案
目标尺寸≥24×24 CSS px
重复输入不重复请求已知信息
可访问的认证避免认知类测试

Reduced Motion

减少动画

css
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

css
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

Design Tokens

设计令牌

json
{
  "color": {
    "primary": {
      "$value": "#0066cc",
      "$type": "color"
    }
  },
  "spacing": {
    "sm": {
      "$value": "8px",
      "$type": "dimension"
    }
  }
}
LayerExamplesPurpose
Primitive
blue-500
,
16px
Raw values
Semantic
color-primary
Intent-based
Component
button-bg
Component-specific

json
{
  "color": {
    "primary": {
      "$value": "#0066cc",
      "$type": "color"
    }
  },
  "spacing": {
    "sm": {
      "$value": "8px",
      "$type": "dimension"
    }
  }
}
层级示例用途
基础层
blue-500
,
16px
原始数值
语义层
color-primary
基于意图命名
组件层
button-bg
组件专用

Resources

资源

ResourcePurpose
references/implementation-research-workflow.mdResearch before building
references/design-systems.mdDesign system patterns
references/component-library-comparison.mdshadcn, MUI, Radix
references/nielsen-heuristics.mdHeuristic evaluation
references/wcag-accessibility.mdWCAG compliance
references/demographic-inclusive-design.mdAge-specific UX
references/neurodiversity-design.mdADHD, autism, dyslexia
references/ui-generation-workflows.mdUI from scratch
references/ai-design-tools-2025.mdFigma AI, v0
references/cro-framework.mdConversion optimization
references/operational-playbook.mdDecision frameworks
资源用途
references/implementation-research-workflow.md开发前的调研
references/design-systems.md设计系统模式
references/component-library-comparison.mdshadcn、MUI、Radix组件库对比
references/nielsen-heuristics.md启发式评估
references/wcag-accessibility.mdWCAG合规性
references/demographic-inclusive-design.md年龄适配UX
references/neurodiversity-design.md神经多样性适配(ADHD、自闭症、阅读障碍)
references/ui-generation-workflows.md从零开始设计UI
references/ai-design-tools-2025.mdFigma AI、v0等AI设计工具
references/cro-framework.md转化率优化框架
references/operational-playbook.md决策框架

Templates

模板

TemplatePurpose
assets/design-brief.mdDesign brief
assets/ux-review-checklist.mdUX review
assets/ui-generation/full-ui-spec.mdUI spec
assets/audits/cro-audit-template.mdCRO audit
模板用途
assets/design-brief.md设计简报
assets/ux-review-checklist.mdUX审查
assets/ui-generation/full-ui-spec.mdUI规范
assets/audits/cro-audit-template.mdCRO审核

Pattern Inspiration

设计灵感来源

Related Skills

相关技能

SkillPurpose
software-ux-researchResearch (use first)
software-frontendImplementation
software-mobileMobile patterns
product-managementProduct strategy
技能用途
software-ux-research用户调研(优先使用)
software-frontend前端实现
software-mobile移动端交互模式
product-management产品策略