表单:用户行为规范
使服务器成为表单有效性的权威,而客户端则为了速度进行验证,共享错误代码,聚焦第一个无效字段,并且绝不泄露私有记录是否存在的信息。
Requires exclusive pending, success, error, and empty states for async screens, forbids an unbounded spinner, announces completion, and preserves user input when a request fails.