This is a one-line patch to improve table accessibility by adding 'scope="col"' to the table header tags.

It would be great if it was possible to add optional table summaries and captions to tables.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brianbrarian’s picture

I applied this patch to views.module, but it doesn't seem to have added scope="col" to the days-of-the-week table headers in the monthly calendar and mini block calendar. Is there something else I need to do to make that work?

[Update 24 June 2008. Got this done through theming.]

mgifford’s picture

Issue tags: +Accessibility

Adding accessibility tag & link to Group - http://groups.drupal.org/accessibility

mgifford’s picture

Version: 5.x-1.6 » 7.x-3.x-dev
FileSize
2.03 KB

This is still an issue in the recent D7 version of Views.

dawehner’s picture

Version: 7.x-3.x-dev » 5.x-1.x-dev

Sorry but the old patch had a total different scope ;)

Here is the new issue http://drupal.org/node/864006

dawehner’s picture

With scope i mean totally different position of the table

mgifford’s picture

thanks for setting up the new issue. I'm not sure any suggestions like this are going to get into D5 mind you.

dawehner’s picture

i don't think that any of the d5 patches will be applied.

merlinofchaos’s picture

I think the point is:

Please create new issues for D7 rather than moving D5 issues to D7. In the new issue you can provide a link to the old issue to retain history.

mgifford’s picture

In core it's not uncommon to just change the version of the issue so I assumed this would be fine. The goal however is to add more definition to provide greater context for screen readers. There's a good podcast on it here:

http://webaxe.blogspot.com/2007/08/podcast-54-summary-attribute.html

merlinofchaos’s picture

Understood. We find that changing issues midstream makes them difficult to follow the actual purpose, so I prefer new issues as it reduces the workload of the maintainers.

mgifford’s picture

Status: Needs review » Closed (won't fix)

Makes sense & good to know. I'm just marking this as won't fix. It can be dealt with in D6 or D7.

I've got some questions #864006: Improve table semantics by adding scope or headers/id attributes but can deal with them there