在上面描述您的图片,然后点击“生成”以获取替代文本建议。
| 好 | 差 |
|---|---|
“Woman in red dress holding a coffee cup while sitting at a wooden desk with a laptop” 描述具体、有上下文,屏幕阅读器能清晰描绘画面。 | “image.jpg” 过于通用或只是一个文件名。对可访问性或 SEO 毫无价值。 |
“Graph showing Q4 revenue growth of 34% with an upward trend line from October to December” 传达了数据故事。即使用户看不到图表也能获得关键信息。 | “chart.png” 只是文件扩展名。完全错过了数据可视化替代文本的意义。 |
“White and red sneakers on a wooden floor with natural sunlight streaming from a window” 营造了场景。电商产品图片受益于上下文描述。 | “Photo of shoes” 模糊且无帮助。无法将该产品与其他鞋类照片区分开。 |
替代文本(alt text)是添加到图片标签中的 HTML 属性,用于描述图片内容。它会被屏幕阅读器为视障用户朗读,并在图片加载失败时显示。搜索引擎也会使用替代文本来理解图片内容,因此它是关键的无障碍和 SEO 实践。