3
所以我跑我的一个网页的源代码,通过508合规性检查网上,并且它回来的人都说我的一些表是不正确的,我遵循的准则使用范围设置,但它仍然失败:为什么这个HTML表格不符合508?
<table>
<tr bgcolor="#f6f7f7">
<td scope="col">adsf</td>
<td scope="col">Type</td>
<td scope="col"> Check ID</td>
<td scope="col"> Check Title</td>
</tr>
<tr bgcolor="#EEEEEE" onMouseOver="javascript: this.style.backgroundColor='#FFF8DC';" onMouseOut="javascript:this.style.backgroundColor='#EEEEEE';">
<td scope="row" id="statuscell0">aad</td>
<td align="center" id="statuscell0">OVAL</td>
<td align="left" id="statuscell0">asdfasdf</td>
<td align="left" id="statuscell0">asdfasdf</td>
</tr>
<!-- More such table rows here ... //-->
</table>
谢谢。
做
是的,你可以这样做 – jspcal
你需要添加,摘要,标题,THEAD,日,TFOOT,TBODY
来源
2010-01-13 22:08:06
没有想到总结,标题,tfoot,thead,tbody是强制性的遵守,只是推荐 – user105033
此外,我不知道是否内嵌会的onmouseover飞。为了可访问,当用户在文档中选择行时,需要执行相应的操作 - 如果不进行一些调整,该行就会不起作用。即使您不使用鼠标,也需要提示该行突出显示。
来源
2011-05-28 03:11:38
相关问题