Skip to content

Still seeing the warning "<table> lacks "summary" attribute" with HTML5 #377

Closed
@a3nm

Description

@a3nm

This is probably related to #210.

With the latest version from trunk and the following document:

<!DOCTYPE html>
<html dir="ltr" xml:lang="en" lang="en"><head>
  <title>blah</title>
</head>
<body>
  <table>
    <tr><td>foo</td></tr>
  </table>
</body></html>

I get the following warning when running /usr/local/bin/tidy -utf8 -errors -quiet:

line 6 column 3 - Warning: <table> lacks "summary" attribute

This HTML5 document is accepted by validator.w3.org without issues so I don't think this warning should be emitted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions