在(书籍)图像列表上使用什么 Alt 文本

What Alt text to use on a list of images (of books)

在一个页面上我有一个书籍列表(只有名字和作者),以及它们的封面。

我应该在这些图片上使用什么替代文字?

我看到一家大型荷兰网上商店的产品图片中有产品名称;

我在亚马逊的一个页面上的所有商品上看到 'product details' 有很多产品(所以它们都有相同的替代文本)

我想知道当有人拥有屏幕阅读器时有什么好处。我应该把它设为空白以便它被忽略吗?这听起来很懒惰,但我不知道听屏幕阅读器阅读 30 本书然后在每本书上说 'this is a cover image' 或书名(它也会读出因为它是本书段落的开头,所以它会被阅读两次)

给定的布局可能如下所示:

+-----------------+
|                 |  Night Circus
|                 |  Erin Morgenstern
|                 |
|                 |  ISBN
|                 |  A story of something or other, though
|                 |  I cannot be sure as the book is too
|                 |  far away to see clearly.
|                 |
|                 |
|                 |
+-----------------+

我会使用空白 alt 属性。说明标题/作者只是冗长而没有添加任何内容。现在,如果您的网站也将封面艺术作为卖点,那么我会为每张图片制作自定义替代文本。但我认为这不适合这里。

对于大多数屏幕 reader 用户来说,冗余的替代文本令人沮丧。

如果图片符合definition of pure decoration per WCAG 2.0, as they might from your description, then an empty alt attribute is appropriate (alt=""). Note that you must also either make sure there is no title attribute or that it is also empty in order for the images to be ignored by assistive technology. See WCAG technique H67供参考