W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Re: Table feedback

From: Ben Millard <cerbera@projectcerbera.com>
Date: Thu, 25 Dec 2008 10:36:34 -0000
Message-ID: <49514936205943B3AB1FB0F38A1FBE94@ben9xr3up2lv7v>
To: "Ian Hickson" <ian@hixie.ch>
Cc: "HTMLWG" <public-html@w3.org>

Ian Hickson wrote:
> I have reversed the way the algorithm is presented

For what it's worth, I find the headers->data direction easier to follow. As 
an author I guess that's inevitable. I guess it's also inevitable that 
implementors will have the opposite perspective as they are working at the 
opposite end.

Ian Hickson wrote:
> Ben's research was instrumental to the changes made here; his research
> probably had more of an effect on the spec than all the other
> discussions put together. I cannot emphasise enough how much more
> important objective analysis and logical argumentation is compared to
> opinions and assertions.

Woot! :D  I'll start a new funding search after Xmas so that, hopefully, 
you'll be getting more stuff like this from me.

In the new algorithm:

7. If there is no cell covering slot (x, y) [...] return to the substep 
marked loop."


I understand this can arise when the cells (<th> and <td> elements) do not 
fill all the slots in a row (<tr> elements):


My understanding is that ATs treat slots with no cell as if they had an 
empty cell. This lets users move through (or along) "gaps" at the ends of 
rows without the row being skipped or the user needing to detour around the 
missing cells.

If this is the case with ATs, slots with no cell should get associations as 
if they were an empty cell? (I have no direct access to ATs to test if this 
is actually the case.)

I'm not sure what should happen to overlapping cells. My guess is that both 
lists of header cells are expected to apply to the overlapping slot. Either 
way, overlapping cells are so rare that I don't recall encountering any 
during my own research.

Ian Hickson wrote:
> [...] it required the algorithm to now make a decision about whether cells 
> are column headers or row headers  [...]
> Thus, the algorithm is likely going to support far fewer table types 
> without attributes, which is going to result in a net decrease in the 
> number of tables that are accessible.

Which types are those?

The new definitions in HTML5 look straightforward, intuitive and like 
they'll be reliable. I expect James understands the exact logic Smart 
Headers uses better than I but I think the new logic in HTML5 is, in effect, 
the same.

Ben Millard
Received on Thursday, 25 December 2008 10:37:21 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:40 UTC