No ALT defined for image.怎么解决

来源:百度知道 编辑:UC知道 时间:2024/06/20 09:52:38
网页完成后,用站点-报告项目检查,出现如下站点报告:

文件 行 描述
f:\dw\xlwhazzx.html 64 Non spacer IMG with valid ALT [S508 a/WCAG 1.1 P1] --已失败 --No ALT defined for image.
f:\dw\xlwhazzx.html 83 Non spacer IMG with valid ALT [S508 a/WCAG 1.1 P1] --manual --ALT of image is the empty string "".
f:\dw\xlwhazzx.html 94 Non spacer IMG needs LONGDESC [S508 a/WCAG 1.1 P1] --manual --Non- spacer image may need a LONGDESC attribute.
f:\dw\xlwhazzx.html 215 Data table should have headers [S508 g/WCAG 5.1 P1] --manual --The page contains a table that might be used to present data.If this is the case, then the table must have headers forrows and columns (i.e., strings with TH tags).]]
请高手帮助解决
64行:<img src="xlwhazzx.files/a3_02.gif"

把你的64、83、94、215行贴出来,大家帮你修正。

补充:
你的语句没有问题,可以执行。不过alt="" 建议修改一下,在那对引号里面加上图片的含义说明。

当然也可以不用描述,取消alt=""