Hi,
A little late to the thread, but how about:
the contents of the table">
<caption>Sample Complex Table</caption>
<tr>
<th abbr="page" id="pageNo">Page
Name</th>
<th id="cat">Category</th>
<th abbr="tool" id="acc" axis="test
results">Accessibility Tool Test</th>
<th abbr="manual" id="man" axis="test
results">Manual Test</th>
<th abbr="jaws" id="jaws" axis="test
results">JAWS test</th>
</tr>
<tr>
<th id="home">Home</th>
<td headers="home cat">Common</td>
<td headers="home acc">4</td>
<td headers="home man">2</td>
<td headers="home jaws">3</td>
</tr>
<tr>
<th id="res">Resources Welcome</th>
<td>Resources</td>
<td>6</td>
<td>0</td>
</tr>
<tr>
<th colspan="2" id="tot">Totals:</th>
<td headers="tot acc">10</td>
<td headers="tot man">2</td>
<td headers="tot jaws">3</td>
</tr>
</table>
On Aug 17, 2009, at 5:27 PM, Tim MacKay wrote:
Thanks Ben and Christian for the replies, & Ben thanks particularly
for the
links. Based on the accessibility bonuses of the methods you
suggested I
might opt out of the def list route and use headings.
Thanks again.
Tim
-----Original Message-----
From: li...@webstandardsgroup.org
[mailto:li...@webstandardsgroup.org] On
Behalf Of Benjamin Hawkes-Lewis
Sent: Monday, 17 August 2009 5:47 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] table inside a dd?
On 17/08/2009 06:18, Tim MacKay wrote:
I am marking up product nutritional information and am thinking of
doing
it like so:
<dl>
<dt> The Product </dt>
<dd> Paragraph blurb about the product </dd>
<dd>
<table>
<.etc>Tabular data of the nutritional information</.etc>
</table>
</dd>
</dl>
Is nesting the table within the def list valid markup?
Yes.
I'd tend to suggest using headings (or headings inside a list) instead
of a definition list, so that each product has an entry in the
effective
document outline:
<h2>The Product</h2>
<p>blurb</p>
<table>
<caption>Nutritional information</caption>
...
</table>
More practically, this allows non-mouse users of Opera
(http://www.opera.com/browser/tutorials/nomouse/) or assistive
technology
(http://www.freedomscientific.com/Training/Surfs-up/Navigating.htm) to
skip effectively from one product to another, and surfaces the
products
in assistive technology heading lists.
Some assistive technology does have some support for definition lists,
but it's not especially pretty, which isn't surprising given the HTML
spec suggests using the element for "terms" and "descriptions", and
also
for dialogs:
http://www.webaim.org/discussion/mail_message.php?id=11226
--
Benjamin Hawkes-Lewis
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************