views:

182

answers:

2

So I ran one of my pages source code through a 508 compliance checker online, and it came back saying some of my tables are not correct, I followed the guidelines to use the scope setting but it still fails:

<table>

    <tr bgcolor="#f6f7f7">
        <td scope="col">adsf</td>
        <td scope="col">Type</td>
        <td scope="col">&nbsp;Check ID</td>
        <td scope="col">&nbsp;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>

Thanks.

+2  A: 

you would need to add table headers <th>

jspcal
do <th> tags have all the same attributes that can be used as in td's i.e, can I just go modify the headers i have in my <td's to <th ... instead of <td ...
yep you can do that
jspcal
+2  A: 

you need to add, summary, caption, thead, th, tfoot, tbody

Dave.Sol
Didn't think summary,caption,tfoot,thead,tbody are mandatory for compliance, just recommended