table summary
I would like to make missing table summaries a reportable warning. How do I go about this?
How would I scan the help for this info?
How would I scan the help for this info?
Support Forum
http://www.htmlvalidator.com/CSEForum/
http://www.htmlvalidator.com/CSEForum/viewtopic.php?f=1&t=1506
In particular, authors are encouraged to consider whether their explanatory text for tables is likely to be useful to the visually impaired: if their text would not be useful, then it is best to not include a summary attribute. Similarly, if their explanatory text could help someone who is not visually impaired, e.g. someone who is seeing the table for the first time, then the text would be more useful before the table or in the caption. For example, describing the conclusions of the data in a table is useful to everyone; explaining how to read the table, if not obvious from the headers alone, is useful to everyone; describing the structure of the table, if it is easy to grasp visually, might not be useful to everyone, but it might also not be useful to users who can quickly navigate the table with an accessibility tool.
function onStartTag_table() {
if !hasAtt("summary") {
Message(1,$MSG_WARNING,'Missing "summary" attribute.');
}
}