[nfbcs] Laying out Tables
Jaquiss, Robert
RJaquiss at nfb.org
Tue Jul 31 17:33:10 UTC 2012
Hello Susie et al:
Below my signature is code that shows three different tables. The first table is a variant of what Peter posted earlier. When JAWS navigates to thie first table using the t command, it will read the name of the table and the first column. If a user is using arrow keys to navigate, the table name will be read as a level 2 heading. When JAWS navigates to the second table, it will again read the name. Users will hear the table name if arrow keys are used for navigation.
The third table doesn't use a caption and is preceeded by a heading. Note that the thead elements are also replaced with a tr element. JAWS still recognizes the column headings. Hope this is useful. The html source is also attached.
Regards,
Robert
Robert Jaquiss
Access Technology Specialist
National Federation of the Blind Jernigan Institute
200 E. Wells Street at Jernigan Place
Baltimore, MD 21230
Phone: (410) 659-9314, Ext.2422
Email: rjaquiss at nfb.org
<html>
<head><title>Table demonstration</title></head>
<body>
<h1>Start of demonstration</h1>
<p>This demonstrates a table caption and headings.</p>
<br />
<table>
<caption><h2>Products</h2></caption>
<thead><th>Price</th><th>Item</th></thead>
<tbody>
<tr><td>$735.00</td><td>New Perkins Brailler</td></tr>
<tr><td>$335.00</td><td>Used Perkins Brailler</td></tr>
</tbody>
</table>
<br />
<p>The second table.</p>
<h2>The second table</h2>
<table>
<caption>Products</caption>
<thead><th>Price</th><th>Item</th></thead>
<tbody>
<tr><td>$4,500.00</td><td>Juliet Pro 60</td></tr>
<tr><td>$4,000.00</td><td>Juliet</td></tr>
</tbody>
</table>
<br />
<p>A third table.</p>
<h2>The third table</h2>
<table>
<tr><th>Price</th><th>Item</th></tr>
<tbody>
<tr><td>$180,000.00</td><td>New house</td></tr>
<tr><td>$4,000.00</td><td>Run down house</td></tr>
</tbody>
</table>
<p>End of demonstration.</p>
</body></html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nfbnet.org/pipermail/nfbcs_nfbnet.org/attachments/20120731/90f1a01a/attachment.htm>
More information about the NFBCS
mailing list