[ 
https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883823#action_12883823
 ] 

Finn Bock commented on CLK-673:
-------------------------------

Well, I suppose that <caption> is related to accessibility, but <caption> is 
also rendered visually:

  http://people.apache.org/~bckfnn/table-caption.html

It also seems that specifying a summery on <table> and no caption is a valid 
way of making a table accessible:

"""
Authors should therefore take care to provide additional information 
summarizing the purpose and structure of the table using the summary attribute 
of the TABLE element. This is especially important for tables without captions
"""

  http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.2.2
  http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-summary

It would be better IMO to add a setRenderAccessible(true) or 
setRenderHeaders(true) property for controlling the feature.

> Caption and th headers
> ----------------------
>
>                 Key: CLK-673
>                 URL: https://issues.apache.org/jira/browse/CLK-673
>             Project: Click
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>         Environment: Linux Apache Tomcat mySQL Java
>            Reporter: Christophe FOIRET
>            Assignee: Finn Bock
>             Fix For: 2.3.0-M1
>
>
> There isn't support to link headers to cells currently, but it looks like a 
> good idea and
> straightforward to add.
> Can you raise a JIRA for these items:
> 1. add API to render a caption
> 2. associate headers and cells through id and headers attributes
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to