只让我写数字
Just Let Me Write Digits

原始链接: https://gendx.dev/blog/2026/07/13/input-digits.html

作者记述了自己在注册瑞士政府强制推行的数字身份系统 AGOV 时遭遇的困境。尽管尝试了多种浏览器和设备,作者仍无法输入验证码,因为注册表单错误地拦截了“Shift”键——而这正是标准法语(AZERTY)键盘输入数字所必需的。 经过大量的排查,作者发现该 Bug 出在网站的 JavaScript 逻辑中,代码明确禁止了修饰键。讽刺的是,尽管法语是瑞士的官方语言,这一疏忽却将法语用户拒之门外。 这段经历突显了几个系统性失误: * **界面过度工程化:** 使用了六个独立的输入框和自定义 JavaScript,而非标准的无障碍网页表单,导致了不必要的阻碍。 * **支持服务的“先有鸡还是先有蛋”:** 客服系统被置于需要登录才能访问的页面之后,而登录环节本身却已损坏,导致用户无法上报 Bug。 * **缺乏透明度:** 由于源代码尚未公开,用户被迫依赖封闭的操作系统(Android/iOS),且无法进行自主排查。 作者总结认为,AGOV 将复杂、死板的安全协议置于核心无障碍性和系统韧性之上,在为合法用户设置壁垒的同时,却未能提供必要的支持机制。

Hacker News 最新 | 往日 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 只要让我输入数字 (gendx.dev) 15 分,brandon_bot 发布于 3 小时前 | 隐藏 | 往日 | 收藏 | 1 条评论 帮助 kleiba2 5 分钟前 [–] 读到这篇文章让我感觉自 20 世纪 80 年代以来,我们在软件工程和 UI 设计方面简直毫无长进。 回复 考虑申请 YC 2026 年秋季批次!申请截止日期为 7 月 27 日。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Digital identities and what they mean for the web have become a hot topic of discussion in the last few years. They have also brought many controversies: age verification laws and what they mean for online anonymity, Wikipedia potentially having to verify the identify of its users in the UK, the reliance on official iOS and Android operating systems as mandatory form factors for digital identity wallets, not to mention what these inter-dependencies mean when your US digital accounts are cancelled for being a judge at the International Criminal Court.

My story is about the Swiss governmental login system AGOV. Deployed since 2024, it now counts 1.6 million accounts and it is increasingly becoming the login mechanism to benefit from unemployment insurance, file taxes (a mandatory activity!), and many other interactions. In the canton of Zurich, this is the only entry point to apply for citizenship.

So I eventually had to create an AGOV account. Unfortunately, registering an account proved to be a real challenge, until I got the bottom of a weird accessibility bug. Inspired by Just Let Me Select Text, it’s my turn to present you Just Let Me Write Digits.