W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: Heuristic Tests for Data Tables (Discussion)

From: Robert Burns <rob@robburns.com>
Date: Fri, 24 Aug 2007 18:30:02 -0500
Message-Id: <2FFF42EE-CC3A-48A3-B922-C98074248ED5@robburns.com>
Cc: Ben 'Cerbera' Millard <cerbera@projectcerbera.com>, Philip Taylor <philip@zaynar.demon.co.uk>, HTMLWG <public-html@w3.org>
To: James Graham <jg307@cam.ac.uk>
HI James,

> James Graham wrote:
>> Ben 'Cerbera' Millard wrote:
>>> I wonder how many tables can be made natively accessible? How  
>>> many will need to be retrofitted by authors with <th> or scope=""  
>>> or headers="" and how likely is that? I guess more studying (like  
>>> Philip and I and others have done) and prototyping of  
>>> implementations (like James Graham might do)
>> There's some very early work on this available at [1] (only the  
>> HTML4 algorithms are currently implemented). Due to a bug in a  
>> html5lib serializer badness occurs when you give it a page  
>> containing more than one table. I also haven't checked that it's  
>> giving the correct results in almost any cases. However if you  
>> want to report bugs feel free.
> This now also has some work on the algorithm from the HTML 5 spec,  
> with similar caveats as before i.e. it is hideously under tested.
>> [1] http://wordsandpictures.dyndns.org/table_inspector.html

that's some great news. I ran my prototypical table[1] through the  
tool to see what it would look like with either the HTML4 or HTML5  
algorithms. Keep in mind that this is a relatively complex (though  
small) table that has neither scope= nor headers=. attributes. So in  
both cases its being done strictly with the basic algorithms. I'm  
still looking it over myself, but to compare the results yourself you  
can compare the visual table itself[1] to the resulting tables  
produced by the HTMl 4.01[2] and HTML5[3] algorithms. See if the  
algorithms produce the association(s) you expect.

Take care,

[1]: <http://lists.w3.org/Archives/Public/public-html/2007Aug/ 
[2]: <http://wordsandpictures.dyndns.org/cgi-bin/tables/ 
On Aug 24, 2007, at 4:49 PM, James Graham wrote:>
[3]: <http://wordsandpictures.dyndns.org/cgi-bin/tables/ 
Received on Friday, 24 August 2007 23:30:25 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:25 UTC