Re: [VE][64] document type does not allow element "TFOOT" here

"Jukka K. Korpela" <jkorpela@cs.tut.fi> writes:
> Dag-Erling Smørgrav <des@des.no> writes:
> > "David  Peabody" <DavidP@smdi.com> writes:
> > > The only method we have found to overcome this validation error is to
> > > place the table footer <tfoot> between the table header <thead> and
> > > the table body <tbody> in the HTML code.
> > Correct.
> Not correct. You can omit the <tfoot> element. It is not obligatory at
> all, in any HTML DTD. This is the best approach in practice. What you
> do otherwise depends on the content and structure, which was not
> disclosed - and it's not a validation issue.

Umm, the entire premise of this thread is that there *is* a tfoot in his
table.

> > > Does the W3C have suggestions or can they alter their testing
> > > methods to discourage this <tfoot> placement because it interferes
> > > with disabled users’ accessibility?
> > The placement of tfoot between thead and tbody is intentional.
> Perhaps, but it's irrelevant in validation. Validation is about what
> the DTD says, not about why it says so.

Are you *trying* to be as unhelpful as possible, or does it just come
naturally?  Read the context!

DES
-- 
Dag-Erling Smørgrav - des@des.no

Received on Thursday, 7 January 2010 10:52:23 UTC