ui component state / Invalid

Invalid

当前输入不符合规则但用户仍可修正的状态。

Key fields

Identity

Subtype
状态或变体
Parent Taxonomy
Input, Select, Checkbox

What

Definition
当前输入不符合规则但用户仍可修正的状态。
Manifestation
突出问题位置并保留输入内容。

Why

Implementation Goal
错误文本要与控件关联并能被读屏获取。

How

Implementation Guidance
默认值明确;状态转换可预测;键盘和触摸路径完整;读屏可感知;高对比和 reduced motion 下仍可用。

Evidence

Limitations
使用语义状态、可见焦点、文本等价和适当的 ARIA 属性表达;不只依赖颜色、动画或声音。

Lifecycle

Status
启用