[Bug 7056] <caption> and <figure><legend> elements should allow flow content children

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7056


Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-03-14 15:13:13 ---
This bug is directly related to how Issue 32, table summaries, is solved.

Here is a list of all the proposed solutions to Issue 32:

http://www.w3.org/html/wg/wiki/ChangeProposals/comparsionSummarySolutions

My own change proposal (which you find a link to on the above page) says that
block elements are disallowed inside <caption>, unless they are placed inside a
<tableinfo> element. 

The purpose of the <tableinfo> element is so that it it shall be possible to
separate the table caption from other info. The <tableinfo> element is avaiable
to all media groups.

If you consider HTML4, and the interpretations of HTML4 (such as the the one
found in the WCAG2 techniques  H39 and H73, then it is clear that one important
reason for the @summary attribute is to not mix such information with the
caption. (That is: The point is not necessarily to avoid that sighted users
read "unecessary info", but to ensure that the caption is a caption and not a
shortstory.)

I do not support that <caption> shall be permitted to have table information
other than the caption, unless we have a programmatically determined way to
separate the table caption from the table info.

I have voiced this kind of critisism against Ian's solution to allow paragraphs
etc inside <caption> since day one.

I am not certain that <tableinfo> can solve the issue of separating the table
caption from the table information in a satisfying way. But if it can't, then
certainly dropping block elements directly inside can't solve it either. In
which case we should simply go back to the HTML4 rule, which forbids block
elements inside <caption>.

Please also note that <figure> provides all the necessary means to associate
table information with the table. Something like this should be enough:

<figure>
<p>Table info</p>
<table><caption>caption</caption>
...
</table>
</figure>

PS: It is possible that some of the things I said above represents separate
bugs that I should have opened ... Please feel free to suggest any ... 


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 14 March 2010 15:13:15 UTC