<?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>25393</bug_id>
          
          <creation_ts>2014-04-19 12:41:51 +0000</creation_ts>
          <short_desc>outline depth calculation should not include empty sections</short_desc>
          <delta_ts>2015-06-19 14:25:35 +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>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>25394</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>lwatson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>104091</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-19 12:41:51 +0000</bug_when>
    <thetext>Including sections without Hx leads to illogical outline depths for headings
http://www.w3.org/html/wg/drafts/html/master/sections.html#outline-depth

example:

&lt;body&gt;
&lt;h1&gt;heading&lt;/h1&gt;

&lt;section&gt;
&lt;section&gt;
&lt;section&gt;
&lt;h1&gt;heading&lt;/h1&gt;
&lt;/section&gt;
&lt;/section&gt;
&lt;/section&gt;

results in 

&lt;h1&gt;
&lt;h4&gt;
&lt;/body&gt;

given that use of sectioning elements in the wild are prone to this type of misuse, ignoring sections without headings seems prudent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104094</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-19 13:01:24 +0000</bug_when>
    <thetext>some data 252 HTML5 pages using the &lt;section&gt; element
http://www.html5accessibility.com/HTML5data/section/section.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104095</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-19 13:05:34 +0000</bug_when>
    <thetext>some data: 170 HTML5 pages that use the &lt;article&gt; element http://www.html5accessibility.com/HTML5data/article/index.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104203</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-22 19:21:47 +0000</bug_when>
    <thetext>modify outline depth concept to allow empty sections to be ignored when calculating outline depth and consequent acc layer level property

current text: 
&quot;The outline depth of a heading content element associated with a section section is the number of sections that are ancestors of section in the outermost outline that section finds itself in when the outlines of its Document&apos;s elements are created, plus 1. The outline depth of a heading content element not associated with a section is 1.&quot;

http://www.w3.org/html/wg/drafts/html/master/sections.html#outline-depth</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104205</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-22 19:33:36 +0000</bug_when>
    <thetext>(In reply to steve faulkner from comment #3)
&gt; modify outline depth concept to allow empty sections to be ignored when
&gt; calculating outline depth and consequent acc layer level property
&gt; 
&gt; current text: 
&gt; &quot;The outline depth of a heading content element associated with a section
&gt; section is the number of sections that are ancestors of section in the
&gt; outermost outline that section finds itself in when the outlines of its
&gt; Document&apos;s elements are created, plus 1. The outline depth of a heading
&gt; content element not associated with a section is 1.&quot;
&gt; 
&gt; http://www.w3.org/html/wg/drafts/html/master/sections.html#outline-depth

also need to modify

&quot;User agents should provide default headings for sections that do not have explicit section headings.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121224</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-06-19 14:25:35 +0000</bug_when>
    <thetext>after discussion last year with hixie decided not a good idea</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>