ui component state / Pressed

Pressed

切换型或命令型控件保持按下语义的状态。

Key fields

Identity

Subtype
状态或变体
Parent Taxonomy
Button, Toggle

What

Definition
切换型或命令型控件保持按下语义的状态。
Manifestation
使用 aria-pressed 或等效语义表达持续状态。

Why

Implementation Goal
视觉和辅助技术状态必须同步。

How

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

Evidence

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

Lifecycle

Status
启用