Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Calendar module creates two html tables (one for the head with the month and another for the body with the days).
It's a bad data representation: it's not xhtml valid (there's an empty tbody tag), it's not wcag valid (and it's not accessible for blind people).
There should be only a table, with a head (the month) and a body (the days).
By the way, thanks for all ;)
Comments
Comment #1
Ufic CreditAttribution: Ufic commentedComment #2
m1mic CreditAttribution: m1mic commented@Ufic
The empty tbody tag wasn't coming from the Calendar module, it was a bug in Drupal core itself. This was fixed in Drupal 6, and I backported the patch to 5 (Node #171461). Earlier today (June 23, 2008), that patch was applied to Drupal 5. The next time an official release comes out, the tbody problem in 5 will go away.
Comment #3
m1mic CreditAttribution: m1mic commentedMoving this to a feature request. The XHTML bug wasn't generated because of the Calendar module, but was because of the aforementioned tbody issue in Drupal 5 core.
Comment #4
KarenS CreditAttribution: KarenS commentedSounds like it's fixed, then (there's nothing else to do here).
The handling for this has been altered in later versions to try to avoid the problem by adding the navigation to the calendar table (in the D5.2 version) or by getting rid of the table altogether for the navigation and doing it using divs (in the D6 version).
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.