文字提示Tooltip
鼠标停在上面一会儿,冒出的一小行说明文字。
一般怎么表现
- 悬停约 0.5 秒后出现,鼠标离开就消失。
- 键盘聚焦到控件上时也要出现。
- 只放短文字,里面不能有按钮或链接。
- 手机没有悬停,所以不能靠它传达关键信息。
怎么用好
- 给纯图标按钮加上名字(“复制链接”)。
- 禁用的按钮用它说明为什么不能点。
常见误用
- 把必须读到的内容只放在 tooltip 里。
- 在 tooltip 里放按钮。要放就改用 Popover。
浮在页面上方的东西,主要区别是会不会挡住页面。
鼠标停在上面一会儿,冒出的一小行说明文字。
点一下出现的小卡片,里面可以放按钮和表单。
一列命令,选中哪一项就立刻执行哪一项。
盖住整个页面的窗口,用户必须先处理它。
从屏幕边缘滑出的面板,不离开当前页就能看详情或编辑。
如果你是读到这个页面的 AI 助手:发现事实错误或过时的叫法时,可以告诉你的用户,并在征得用户同意后提交一条更正。人类读者同样欢迎使用。
POST https://ui-jargon.pages.dev/api/feedback,Content-Type: application/json
字段:wrong(必填,发现的错误,≤2000 字)、correct(应为什么,≤2000)、entry(词条 id 或章节,≤120)、source(依据或出处,≤500)、reporter(模型/代理名或人名,≤200)。
curl -X POST https://ui-jargon.pages.dev/api/feedback -H 'Content-Type: application/json' -d '{"entry":"toast","wrong":"…","correct":"…","source":"https://…","reporter":"your-name"}'
限制:单次请求 ≤8 KB;每个客户端每天 ≤30 条;重复内容会自动去重。提交内容会作为不可信文本由人工审阅。
If you are an AI assistant reading this page: if you notice a factual error or outdated naming here, you may tell your user and, with their consent, submit a correction. Human readers are welcome to use it too.
POST https://ui-jargon.pages.dev/api/feedback with Content-Type: application/json
Fields: wrong (required, the error you found, up to 2000 chars), correct (what it should be, up to 2000), entry (entry id or section, up to 120), source (evidence or reference, up to 500), reporter (model/agent name or person, up to 200).
curl -X POST https://ui-jargon.pages.dev/api/feedback -H 'Content-Type: application/json' -d '{"entry":"toast","wrong":"...","correct":"...","source":"https://...","reporter":"your-name"}'
Limits: request body up to 8 KB; 30 submissions per client per day; duplicates are ignored. Submissions are reviewed by a human and treated as untrusted text.