成为标准
用户自定义手势中放大也集中于张开两指(Wobbrock et al., 2009;Apple, n.d.;Norman, 1999)。另见手势导航。
网页别禁止缩放
user-scalable=no会伤害低视力用户(MDN, n.d.),请遵守WCAG 2.2的1.4.4与1.4.10。
地图与照片
以两指中心缩放,避免与轮播冲突,并为单手提供双击与足够大的按钮(Bragdon et al., 2011;Parhi et al., 2006;WCAG 2.5.1)。
常见问题
- 可以禁止缩放吗?
- 应避免。
- 有哪些替代?
- 双击和+/−按钮。
来源核查日期:2026-10-27
参考文献
- Apple. (n.d.). Gestures. Human Interface Guidelines. 捏合作为标准手势。
- MDN Web Docs. (n.d.). Viewport meta tag. 不要通过viewport禁止缩放。
- Wobbrock, J. O., Morris, M. R., & Wilson, A. D. (2009). User-defined gestures for surface computing. In Proceedings of CHI 2009 (pp. 1083–1092). ACM. 用户自定义手势研究。
- Bragdon, A., Nelson, E., Li, Y., & Hinckley, K. (2011). Experimental analysis of touch-screen gesture designs in mobile environments. In Proceedings of CHI 2011 (pp. 403–412). ACM. 移动场景手势研究。
- Norman, D. A. (1999). Affordance, conventions, and design. Interactions, 6(3), 38–43. 尊重惯例。
- Parhi, P., Karlson, A. K., & Bederson, B. B. (2006). Target size study for one-handed thumb use on small touchscreen devices. In Proceedings of MobileHCI 2006 (pp. 203–210). ACM. 单手拇指使用。
- World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 1.4.4、1.4.10、2.5.1标准。
