ui component state / Selected
Selected
项目当前被用户选中的状态。
Key fields
Identity
- Subtype
- 状态或变体
- Parent Taxonomy
- Tabs, Dropdown, Listbox, Tab, Menu Item
What
- Definition
- 项目当前被用户选中的状态。
- Manifestation
- 提供持续且明显的选中指示。
Why
- Implementation Goal
- 同步 aria-selected 或等效语义。
How
- Implementation Guidance
- 默认值明确;状态转换可预测;键盘和触摸路径完整;读屏可感知;高对比和 reduced motion 下仍可用。
Evidence
- Limitations
- 使用语义状态、可见焦点、文本等价和适当的 ARIA 属性表达;不只依赖颜色、动画或声音。
Lifecycle
- Status
- 启用
Related content
Relationships come from the local knowledge graph and include reverse links.