W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2014

Coding table notes

From: Rabab Gomaa <Rabab.Gomaa@inspection.gc.ca>
Date: Fri, 28 Nov 2014 17:33:16 -0500
Message-Id: <5478B1DC020000E00005CADE@inspection.gc.ca>
To: "w3c WAI List" <w3c-wai-ig@w3.org>
Hello, 
 
I appreciate your feedback on the code. 
 
I have a page with multiple tables that have their own notes. Here is what I think of for the table notes coding. 
- The table notes in a definition list wrapped with <aside> and placed inside <tfoot> element after <tbody>. Beside having a number to identify each table.
 
<table>
<caption>Table 12 : xyz
<thead> <th> <th> <th> </thead>
<tbody> <td> <td> <td> </tbody>
<tfoot col="3">
<aside class="wb-fnote" role="note">
<h2 id="fn-table12">Table 12 Notes</h2>
<dl> <!-- place <dt> and <dd> here --></dl>
</aside>
</tfoot>
</table>
Received on Friday, 28 November 2014 22:35:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:53 UTC