W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > September 2011

errors in test result - table contains less than two td elements

From: Edward McGuire <MetaEd@MetaEd.COM>
Date: Wed, 31 Aug 2011 13:08:59 -0500
Message-ID: <CAGdkUnXhYTz5A4PiPB6hCd7f5Arfczer3XG=yeaj05FL+RHA0Q@mail.gmail.com>
To: public-mobileok-checker@w3.org
Regarding the document at: http://faithlesscompanions.com/

The test threw: "Table contains less than two td elements
A table with only one column is either the sign that the table is used:
to represent a list of items
to control the relative position of various sections of the page
Both uses imply a layout based on tables. While most mobile devices
support basic tables, they are rendered quite differently by different
mobile browsers, and cannot be reliably used for layout. The table
element should only be used - with care - to represent tabular data."

Unfortunately this is factually incorrect. The table contains six td
elements (not less than two) and has two columns (not one).

<table id="members">
<tr> <th> <img class="mug" src="mug-cathy.jpg" alt=""> <td>
<strong>Cathy Smith</strong> <br>
	vocals, keyboard, bass guitar
<tr> <th> <img class="mug" src="mug-kevin.jpg" alt=""> <td>
<strong>Kevin Smith</strong> <br>
	vocals, guitar, mandolin, fiddle, banjo
<tr> <th> <img class="mug" src="mug-scott.jpg" alt=""> <td>
<strong>Scott Williams</strong> <br>
	vocals, guitar, bass guitar
<tr> <th> <img class="mug" src="mug-jay.jpg" alt=""> <td> <strong>Jay
Purrington</strong> <br>
	vocals, guitar
<tr> <th> <img class="mug" src="mug-edward.jpg" alt=""> <td>
<strong>Edward McGuire</strong> <br>
	vocals, drums, guitar, banjo
<tr> <th> <img class="mug" src="mug-damon.jpg" alt=""> <td>
<strong>Damon Barnard</strong> <br>
	audio engineer
</table> <!-- members -->

The test was, however, very good at pointing out other ways that the
table content will be problematic on some mobile devices, and it made
good suggestions for resolving those problems.


Received on Friday, 2 September 2011 08:19:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:21 UTC