Download & Extend

Allow ability to set table caption and summary

Project:TableField
Version:7.x-2.0-beta4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

As the generated markup is a table, would it be possible to add some attributes for the fields (like alt & title for the images), so people can enter a caption for the table as well as a longdesc (for accessibility). I'd like to stress that IMHO, caption is more important than longdesc for sites that don't bother with accessibility, so if you want me to create two distinct issues, just let me know.
The module is really great, and I think it would be a nice addition to be able to at least fill the caption.

Comments

#1

Title:Caption and longdesc attributes» Allow ability to set table caption

I have not used this module, but I do think it would be useful for the ability to add a table caption to be introduced.

Regarding alt / longdesc, these really only apply to images. If you can give more details about how you envision these being introduced to this module I can provide some feedback.

#2

Title:Allow ability to set table caption» Allow ability to set table caption and summary

Hmmm, sorry, the longdesc is for images, for tables it's "summary".
I was thinking about adding one text field for the caption, and a textarea for the summary, both not mandatory, and, if present, rendered by the formatter (eventually prepare a formatter with / without caption).
I've not studied the hook for D7 yet, so I don't know if you have to alter at the field and/or widget level. I'll take a look at this when I have some time.

#3

@Simon Georges --> you ever got around to having a look at this issue?

#4

@Isolesen, my client didn't need it, so I (shame on me) didn't do anything on the subject :-(

nobody click here