[drupal-devel] [task] Use thead and tbody in theme_table()

Zach Harkey drupal-devel at drupal.org
Wed Aug 31 13:57:59 UTC 2005


Issue status update for 
http://drupal.org/node/28777
Post a follow up: 
http://drupal.org/project/comments/add/28777

 Project:      Drupal
 Version:      cvs
 Component:    theme system
 Category:     tasks
 Priority:     normal
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   Zach Harkey
 Status:       patch (code needs review)

+1 on the direction. But we also need to add TFOOT.


All themed tables should have the ability to add THEAD [1],TFOOT [2],
and TBODY [3] to support true semantic table building.
[1] http://www.htmlhelp.com/reference/html40/tables/thead.html
[2] http://www.htmlhelp.com/reference/html40/tables/tfoot.html
[3] http://www.htmlhelp.com/reference/html40/tables/tbody.html




Zach Harkey



Previous comments:
------------------------------------------------------------------------

Fri, 12 Aug 2005 21:44:31 +0000 : drumm

Attachment: http://drupal.org/files/issues/theme.inc_2.diff (1.26 KB)

For extra accessibility and semanticity we should throw in a thead tag
if there is a header row and always put in a tbody tag.







More information about the drupal-devel mailing list