W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Accessibility and <caption>

From: Engleder, Gerhard <Gerhard.Engleder@fabasoft.com>
Date: Tue, 24 Aug 2004 16:11:02 +0200
Message-ID: <C2DF4DAA34CD0644A089964F6B55BBAD02127916@EVS-FABASOFT.fabagl.fabasoft.com>
To: <html-tidy@w3.org>


I'm new to tidy so I don't know if the following behavier is a bug:

That's the input:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
        <title>System Administrator</title>
        <link rel="stylesheet" type="text/css" href="css/standard.css"
        <meta http-equiv="Content-Style-Type" content="text/css" />
        <table summary="A very long description.">

Command (Windows XP):

tidy -access 3 input.html


Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
Info: Document content looks like XHTML 1.0 Strict
No warnings or errors were found.

Accessibility Checks: Version 0.1

line 6 column 9 - Access: []: style sheets require testing
line 10 column 9 - Access: []: <table> missing <caption>.
line 10 column 9 - Access: []: invalid markup used in layout


The table has a caption, but tidy doesn't recognize it. After I made
the following changes to the source, tidy recognizes the caption:

Ln 1771 original:
word = getTextNodeClear( doc, TNode);

Ln 1771 my version:
word = getTextNodeClear( doc, TNode->content);

Am I using tidy wrong or is this a bug?

Gerhard Engleder
Received on Tuesday, 24 August 2004 14:12:19 UTC

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