<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22074</bug_id>
          
          <creation_ts>2013-05-17 18:51:54 +0000</creation_ts>
          <short_desc>modify advice on use of figcaption to caption table.</short_desc>
          <delta_ts>2016-04-25 18:09:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>arronei</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>lwatson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rabab.gomaa</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87826</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-05-17 18:51:54 +0000</bug_when>
    <thetext>My concern:
When figure contains only a table element, &lt;caption&gt; is omitted in favor of &lt;figcaption&gt;.
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 &quot;the figcaption is omitted in favor of the caption&quot; or have equal power for &lt;figcaption&gt; and &lt;caption&gt;
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:
- &lt;caption&gt; is the original element created for table titles.
- Maintaining one way of coding the table will prevent confusion when &lt;figure&gt; is used as a grouping element for table with footnotes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87827</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-05-17 18:53:37 +0000</bug_when>
    <thetext>filed on behalf of Rabab.Gomaa@inspection.gc.ca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126097</commentid>
    <comment_count>2</comment_count>
    <who name="Léonie Watson">lwatson</who>
    <bug_when>2016-04-25 18:09:30 +0000</bug_when>
    <thetext>Migrated for further discussion:
https://github.com/w3c/html/issues/251</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>