强力打断的工具
Raskin(2000)警告模式会引发错误,Bailey与Konstan(2006)表明打断会增加用时、错误与焦虑。Fessenden(2017)建议只在必须停下时使用。替代方案有Toast提示与底部面板。
确认框滥用与时机
反复的确认会让人习惯性点击(Cooper et al., 2014)。在子任务边界打断危害最小(Adamczyk & Bailey, 2004)。羞辱式文案属于暗黑模式(Mathur et al., 2019)。
焦点管理与移动端
按WCAG 2.2(W3C, 2023),打开时焦点移入,关闭时返回。移动端需要输入时可考虑全屏或底部面板。
常见问题
- 与弹窗一样吗?
- 模态是阻断背景操作的弹窗。
- 删除确认必须用模态吗?
- 可撤销时“撤销”Toast往往更好。
来源核查日期:2026-10-27
参考文献
- Fessenden, T. (2017, April 23). Modal & nonmodal dialogs: When (& when not) to use them. Nielsen Norman Group. 整理何时使用与避免模态对话框。
- Cooper, A., Reimann, R., Cronin, D., & Noessel, C. (2014). About face: The essentials of interaction design (4th ed.). Wiley. 批评不必要的确认对话框打断流程。
- Raskin, J. (2000). The humane interface: New directions for designing interactive systems. Addison-Wesley. 关于模式导致错误的经典论述。
- Bailey, B. P., & Konstan, J. A. (2006). On the need for attention-aware systems: Measuring effects of interruption on task performance, error rate, and affective state. Computers in Human Behavior, 22(4), 685–708. 打断会增加用时、错误与焦虑。
- Adamczyk, P. D., & Bailey, B. P. (2004). If not now, when? The effects of interruption at different moments within task execution. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 271–278). ACM. 在任务边界打断危害更小。
- Mathur, A., Acar, G., Friedman, M. J., Lucherini, E., Mayer, J., Chetty, M., & Narayanan, A. (2019). Dark patterns at scale: Findings from a crawl of 11K shopping websites. Proceedings of the ACM on Human-Computer Interaction, 3(CSCW), 1–32. 记录羞辱式确认等暗黑模式。
- World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 焦点顺序与无键盘陷阱准则。
