日期:2014-05-17  浏览次数:20669 次

ensure information not conveyed through color alone(image)。什么来的?
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01//EN ">
<html   lang= "en ">
<head>            
        <title> test </title>
</head>
<body>
        <table>
                <tr> <td> <img   src= "3.jpg "   alt= "33 "   title= "logo "   /> </td> </tr>
                </table>
</body>
</html>

用Komodo编辑器写时,在 <img   src= "3.jpg "   alt= "33 "   title= "logo "   />
里提示:
ensure   information   not   conveyed   through   color   alone(image)

google了一下,找到这份
http://www.aprompt.ca/Tidy/accessibilitychecks.html
但我看不明白里面的说明。

那么这是什么问题呢?
Accessibility   check是一份什么的文档呢?



------解决方案--------------------
原因可能是文档里没有文字,只有图片。在td里加点文字看看。
该文档应该是检查html结构正确性易用性之类的。
------解决方案--------------------
辅助图片一律用背景处理
1.将表现与结构彻底相分离(参考阅读另一篇文章:《理解表现与结构相分离》),用CSS控制所有的外观表现,便于改版。
2.使页面更具有易用性,更有亲和力。例如:盲人使用屏幕阅读机,用背景技术实现的图片就不会被朗读出来。