This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22074 - modify advice on use of figcaption to caption table.
Summary: modify advice on use of figcaption to caption table.
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 18:51 UTC by steve faulkner
Modified: 2016-04-25 18:09 UTC (History)
7 users (show)

See Also:


Attachments

Description steve faulkner 2013-05-17 18:51:54 UTC
My concern:
When figure contains only a table element, <caption> is omitted in favor of <figcaption>.
http://www.w3.org/TR/html5/tabular-data.html#the-caption-element

When coding in a government environment where data tables are frequently used, I see having different ways of coding table (sometimes with caption, other time with figcaption) confusing.  It might also increase the chance of having failures of accessibility.


 
My proposal:
Revise the statement below and consider changing it to "the figcaption is omitted in favor of the caption" or have equal power for <figcaption> and <caption>
http://www.w3.org/TR/html5/tabular-data.html#the-caption-element

When a table element is the only content in a figure element other than the figcaption, the caption element should be omitted in favor of the figcaption.
 
My arguments:
- <caption> is the original element created for table titles.
- Maintaining one way of coding the table will prevent confusion when <figure> is used as a grouping element for table with footnotes.
Comment 1 steve faulkner 2013-05-17 18:53:37 UTC
filed on behalf of Rabab.Gomaa@inspection.gc.ca
Comment 2 LĂ©onie Watson 2016-04-25 18:09:30 UTC
Migrated for further discussion:
https://github.com/w3c/html/issues/251