CampusDownWiki
累计引用 16,105한국어KO 2,699EnglishEN 11,091日本語JA 772中文ZH 1,543
CampusDown(韩语)↗
简体中文

占位符与标签

⚙️ 工程与技术 作者 CampusDown 维基编辑部 最后更新
标签是告诉用户输入框要填什么的名称,占位符是输入框内浅色显示、开始输入后就消失的示例或提示文字。
目录
  1. 1. 为何只靠占位符不够
  2. 2. 标签在外,提示靠近
  3. 3. 无障碍
  4. 4. 常见问题
  5. 5. 参考文献

为何只靠占位符不够

一输入提示就消失,用户只能靠记忆(Sherwin, 2014)。受短时记忆限制(Miller, 1956)与认知负荷理论(Sweller, 1988)影响,错误会增加。

标签在外,提示靠近

把标签放在上方等指南能减少错误与时间(Seckler et al., 2014)。格式提示放在框旁(Christian et al., 2007)。错误提示见内联校验。

无障碍

浅灰占位符常不满足WCAG 2.2的1.4.3,加深对比度又像已填值。3.3.2要求提供标签。用label元素关联(W3C, n.d.)。

常见问题

完全不能用占位符吗?
只要不代替标签,可作简短示例。
浮动标签可以吗?
比只用占位符好,但要检查小字大小与对比度。

来源核查日期:2026-10-27

参考文献

  1. Sherwin, K. (2014, May 11). Placeholders in form fields are harmful. Nielsen Norman Group. 用占位符代替标签的问题。
  2. Seckler, M., Heinz, S., Bargas-Avila, J. A., Opwis, K., & Tuch, A. N. (2014). Designing usable web forms: Empirical evaluation of web form improvement guidelines. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 1275–1284). ACM. 表单指南减少错误与时间。
  3. Miller, G. A. (1956). The magical number seven, plus or minus two: Some limits on our capacity for processing information. Psychological Review, 63(2), 81–97. 短时记忆容量的经典。
  4. Sweller, J. (1988). Cognitive load during problem solving: Effects on learning. Cognitive Science, 12(2), 257–285. 无关认知负荷降低表现。
  5. Christian, L. M., Dillman, D. A., & Smyth, J. D. (2007). Helping respondents get it right the first time: The influence of words, symbols, and graphics in web surveys. Public Opinion Quarterly, 71(1), 113–125. 字段旁提示提升准确率。
  6. World Wide Web Consortium. (n.d.). Labeling controls. Web Accessibility Tutorials. label元素关联方法。
  7. World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 3.3.2与1.4.3标准。

运用该理论的报告与资料(韩语)

目前还没有专门讨论该理论的资料,但你可以在 CampusDown 资料库(韩语)中搜索相关报告。

查找更多报告 · 查看“플레이스홀더와 레이블”搜索结果 →

推荐阅读的理论

最新文章查看全部 ›

大学学习与作业实用新文章(韩语)

本文最后更新于2026年10月27日。内容依据公认的原著和教科书整理;在报告中引用时,请务必核对下方参考文献中的原始出处。