Why does this HTML table not meet the requirements of 508?

So, I ran one of my page source codes through 508 online compliance checking, and he came back saying some of my tables are incorrect. I followed the recommendations for using the scope parameter, but it still does not work:

<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>

Thank.

+3
source share
3 answers

you will need to add table headers <th>

+4
source

you need to add, resume, signature, thead, th, tfoot, tbody

+2
source

, inline onmouseover . , , , , - - . , , .

+1

Source: https://habr.com/ru/post/1728370/


All Articles