Tidy table missing summary

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
MrData
Posts: 1
Joined: Mon Mar 26, 2007 9:42 am

Tidy table missing summary

Post by MrData »

Dear all,

I'm a first time user of Rapid PHP and currently evaluating.

I'm a fond 'cleaner' of my code and therefor started using Tidy on my existing (HTML) code, before continuing to PHP cleaning.

Although I found that Tidy is a third-party module, I assume that plenty of people here have come across the same message as me after tidying:

"warning: <table> lacks "summary" attribute"

As I use, as do many, tables across all of my HTML pages and most do not need an explanatory 'summary', I would like to have Tidy NOT check for this attribute.

I've tested with many attribute in Tidy settings, but the warning remains.

How can I turn off the check for "summary" attribute in Tidy ?

Your reply is greatly appreciated.

Regards,

Gerard
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Tidy is doing it's job! Tidy is checking the validity of your code. It's a w3c rec that all tables have a summary attribute.

two options come to mind:

a)consider abandoning tables for layout (css aint that hard)
b)include a summary! summary="layout table" will let some one with a screen reader know not to look for tabular data in your table (which is what tables are meant for).
Post Reply