You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Christophe FOIRET (JIRA)" <ji...@apache.org> on 2010/05/10 08:19:48 UTC

[jira] Created: (CLK-673) Caption and th headers

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


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.


[jira] Commented: (CLK-673) Caption and th headers

Posted by "Finn Bock (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (CLK-673) Caption and th headers

Posted by "Finn Bock (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Finn Bock resolved CLK-673.
---------------------------

    Resolution: Fixed

fixed in trunk.

> 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.


[jira] Commented: (CLK-673) Caption and th headers

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883751#action_12883751 ] 

Bob Schellink commented on CLK-673:
-----------------------------------

Since the two points above are both related to accessibility, I think they should be tied together. In other words setting the caption should also associate headers and cells. Currently the renderId check is used to associate headers and cells, but I've found rendering cell id's to be quite expensive to render (~30% overhead) and undesirable in my markup.

> 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.


[jira] Assigned: (CLK-673) Caption and th headers

Posted by "Finn Bock (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Finn Bock reassigned CLK-673:
-----------------------------

    Assignee: Finn Bock  (was: Bob Schellink)

> 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.


[jira] Commented: (CLK-673) Caption and th headers

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883832#action_12883832 ] 

Bob Schellink commented on CLK-673:
-----------------------------------

I don't like the idea of supporting different rendering behavior based on properties. There are too many options that its really difficult to capture it through a programming API.

There is always Velocity to render the table manually, exactly to specification, if needed.

Btw I'm not so sure we need to support "headers". Click's table always renders one cell per heading. Seems that the idea behind "headers" is to associate multiple headings per cell. If true I suggest we revert this change.

We can leave Caption though.



> 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.


[jira] Commented: (CLK-673) Caption and th headers

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883869#action_12883869 ] 

Bob Schellink commented on CLK-673:
-----------------------------------

I forgot to add some references:

http://juicystudio.com/article/html-scope-headers-debate.php
http://www.w3.org/html/wg/wiki/IssueTableHeaders

> 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.


[jira] Updated: (CLK-673) Caption and th headers

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink updated CLK-673:
------------------------------

         Assignee: Bob Schellink
    Fix Version/s: 2.3.0

> 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: Bob Schellink
>             Fix For: 2.3.0
>
>
> 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.


[jira] Commented: (CLK-673) Caption and th headers

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883852#action_12883852 ] 

Bob Schellink commented on CLK-673:
-----------------------------------

I've reverted headers for now. Looking around the web it seems that HTML5 might drop headers and use scope instead. However scope and headers targets complex tables, not straightforward data grids. I'm pretty sure the reader can associate headers and cells based on positioning only (although I haven't confirmed this with JAWS yet).

> 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.