Posted By

natalie on 11/28/07


Tagged

table data textmate html accessibility markup accessible posh semantic tabular


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

LeeRJohnson


Accessible table


 / Published in: HTML
 

  1. <table class="creditHistory">
  2. <tr>
  3. <td>&#160;</td>
  4. <th id="method-1" axis="method" scope="col">In</th>
  5. <th id="method-2" axis="method" scope="col">Out</th>
  6. </tr>
  7. </thead>
  8. <tr>
  9. <th id="date-1" axis="date" scope="row">19 September 2007</th>
  10. <td headers="date-1 method-1"><strong>10</strong> added</td>
  11. <td headers="date-1 method-2">&nbsp;</td>
  12. </tr>
  13. <tr>
  14. <th id="date-2" axis="date" scope="row">9 September 2007</th>
  15. <td headers="date-2 method-1">&nbsp;</td>
  16. <td headers="date-2 method-2"><strong>10</strong> used</td>
  17. </tr>
  18. <tr>
  19. <th id="date-3" axis="date" scope="row">18 August 2007</th>
  20. <td headers="date-3 method-1"><strong>50</strong> added</td>
  21. <td headers="date-3 method-2">&nbsp;</td>
  22. </tr>
  23. <tr>
  24. <th id="date-4" axis="date" scope="row">8 August 2007</th>
  25. <td headers="date-4 method-1">&nbsp;</td>
  26. <td headers="date-4 method-2"><strong>4</strong> to <a href="full-friends-hubbub.php">dicky</a></td>
  27. </tr>
  28. <tr>
  29. <th id="date-5" axis="date" scope="row">17 july 2007</th>
  30. <td headers="date-5 method-1">&nbsp;</td>
  31. <td headers="date-5 method-2"><strong>4</strong> used</td>
  32. </tr>
  33. <tr>
  34. <th id="date-6" axis="date" scope="row">7 June 2007</th>
  35. <td headers="date-6 method-1">&nbsp;</td>
  36. <td headers="date-6 method-2"><strong>1</strong> used</td>
  37. </tr>
  38. <tr>
  39. <th id="date-7" axis="date" scope="row">16 June 2007</th>
  40. <td headers="date-7 method-1"><strong>10</strong> from <a href="full-friends-hubbub.php">dicky</a></td>
  41. <td headers="date-7 method-2">&nbsp;</td>
  42. </tr>
  43. </tbody>
  44. </table>

Report this snippet  

You need to login to post a comment.