Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
module system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Mar 2004 at 21:02 UTC
Updated:
27 Mar 2004 at 11:58 UTC
On a mission to make valid XHTML...
This puts the problem in the hands of the modules that are creating tables. It is also a minor bug fix for the table attributes: if not specified, the variable was null instead of an empty array. From now on, people can use my example for checking attributes for tables.
I almost think this should be moved to a function outside of theme_table(). Thoughts? Suggestions?
| Comment | File | Size | Author |
|---|---|---|---|
| theme_table_patch.txt | 682 bytes | TheLibrarian |
Comments
Comment #1
dries commentedAFAIK, XHTML does not require the use of the 'summary'-attribute (though accessibility standards do).
I'm not convinced this is the proper way to enforce the use of a 'summary'-attribute: we don't do so for any other attribute, and validating a page using a validator is a breeze.
Comment #2
TheLibrarian commentedThis patch was mainly a push for module developers to fix their code so that they are fully compliant with accessibility standards (yes, yes, I know it's not required in the XHTML specification). It was also meant to demonstrate how people can check attributes. In retrospect, a demo theme would probably be a better place to do this.
Comment #3
killes@www.drop.org commentedI think this patch shouldn't make it into core. You should rather provide patches for modules that need such a summary field.
Comment #4
dries commented