Skip to main content

check-a-form-error-message

Check a web form error message for accuracy, placement, accessibility, recovery guidance, privacy, and state preservation. Use when validating inline, summary, server, validation, or submission failures.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
check-a-form-error-message
category
web
description
Check a web form error message for accuracy, placement, accessibility, recovery guidance, privacy, and state preservation. Use when validating inline, summary, server, validation, or submission failures.
# check-a-form-error-message An error should identify the problem and make the next action clear. ## When to use - Use during form design, content review, accessibility testing, or defect verification. - Do not expose credentials, account existence, payment details, or sensitive submitted values. ## Procedure 1. Record field, input state, trigger, expected rule, actual message, device, browser, and assistive technology. 2. Confirm the message describes the real problem in plain language without blame or unsupported certainty. 3. Check that it appears near the field and in an error summary where the form needs one. 4. Verify programmatic association, announcement, focus movement, color-independent indication, and readable contrast. 5. Confirm correction guidance, accepted format, limits, and examples are accurate. 6. Verify unaffected values remain, sensitive values are handled safely, and retry does not duplicate an action. 7. Test empty, malformed, boundary, server, timeout, and corrected submissions. ## Done - An error review record captures trigger, message, location, association, recovery guidance, privacy, and retained state - Keyboard, screen-reader, boundary, retry, correction, and successful-submit checks verify recovery
在 GitHub 查看