<?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>17975</bug_id>
          
          <creation_ts>2012-07-18 07:26:56 +0000</creation_ts>
          <short_desc>what about if the &lt;body&gt; IS an article?</short_desc>
          <delta_ts>2012-12-30 02:29:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>giorgio.liscio</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70411</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:26:56 +0000</bug_when>
    <thetext>This was was cloned from bug 14540 as part of operation convergence.
Originally filed: 2011-10-22 04:08:00 +0000
Original reporter: Giorgio &lt;giorgio.liscio@email.it&gt;

================================================================================
 #0   Giorgio                                         2011-10-22 04:08:44 +0000 
--------------------------------------------------------------------------------
hello,

what about if *the entire &lt;body&gt; IS the article*,

&lt;body&gt;
   &lt;article&gt;&lt;/article&gt;&lt;!-- new section here, I don&apos;t want to introduce new one --&gt;
&lt;/body&gt;

I think that the difference between &lt;nav|aside&gt; and &lt;article&gt; is that nav and aside can&apos;t be primary content, the main section, of a document, article yes

so maybe &lt;article&gt; should not be a sectioning element, or you should provide a way to mark the &lt;body&gt; as article

p.s. I don&apos;t want to break up your hard work of years, I&apos;m just submitting my opinion.

I hope this helps!
================================================================================
 #1   Tab Atkins Jr.                                  2011-10-22 04:25:58 +0000 
--------------------------------------------------------------------------------
In this case, just don&apos;t add a wrapping &lt;article&gt; tag.
================================================================================
 #2   Giorgio                                         2011-10-22 05:24:34 +0000 
--------------------------------------------------------------------------------
so if I can not mark a page as article, makes &lt;article&gt; totally useless

by the way, I&apos;ve extended my thought

*please read carefully because this can be interesting and my English is not so good*

One of the problems of html4 was &quot;site title&quot; vs &quot;document title&quot;

I think html5 should introduce something that resolves this issue.
As I said, my english is not so good so I will try to explain with some code.

the homepage:
&lt;body&gt;
   &lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;...some nav...
   ...
&lt;/body&gt;

product page:
&lt;body&gt;
   &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
   &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
&lt;/body&gt;

now, users want to brand their sites with the same header of the homepage, so, according to html5 spec:

product page:
&lt;body&gt;
   &lt;!-- now site branding becomes tangentially-related content --&gt;
   &lt;aside&gt;&lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;...some nav...&lt;/aside&gt;
   &lt;!-- so bots and accessibility tools can understand the real content of the document --&gt;
   &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
   &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
&lt;/body&gt;

but examining this:

&lt;body&gt;
   &lt;!-- now site branding becomes tangentially-related content --&gt;
   &lt;aside&gt;&lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;...some nav...&lt;/aside&gt;
   &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
   &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
   &lt;aside&gt;
      &lt;h1&gt;How to wash the t-shirt&lt;/h1&gt;
      &lt;!-- another tangentially-related content --&gt;
   &lt;/aside&gt;
&lt;/body&gt;

seems that &quot;bestSPORTWEAR.org&quot; is at the same level of &quot;how to wash the t-shirt&quot;
how bots should interpret this? and accessibility tools?
it is nonsense.

I examine another approach:

&lt;body&gt;
   &lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;
   &lt;section&gt;
      &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
      &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
      &lt;aside&gt;
         &lt;h1&gt;How to wash the t-shirt&lt;/h1&gt;
         &lt;!-- another tangentially-related content --&gt;
      &lt;/aside&gt;
   &lt;/section&gt;
&lt;/body&gt;

now the outline is correct, but bots and accessibility tools can&apos;t distinguish the document title and the site title

a new element can be the answer:
(It&apos;s just an example)

&lt;body&gt;
   &lt;parent&gt;
      &lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;
   &lt;/parent&gt;
   &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
   &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
   &lt;aside&gt;
      &lt;h1&gt;How to wash the t-shirt&lt;/h1&gt;
      &lt;!-- another tangentially-related content --&gt;
   &lt;/aside&gt;
&lt;/body&gt;

the outline will still be:

bestSPORTWEAR.org
    A red NIKE t-shirt
        How to wash the t-shirt

but the document title is now hyper-contextualized
- bots can identify the entry point of a page (the document title)
- bots can distinguish between the document context (the site or something in the site) and the document&apos;s related contents
- users can easily provide meaningful outlines without doubts

another solution can be an attribute, instead of introduce one element

&lt;body&gt;
   &lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;
   &lt;p&gt;&lt;!-- this is the upper content --&gt;&lt;/p&gt;
   &lt;article entrypoint&gt;
      &lt;p&gt;&lt;!-- this is the main page content--&gt;&lt;/p&gt;
      &lt;h1&gt;A red NIKE t-shirt&lt;/h1&gt;
      &lt;p&gt;A fantastic nike t-shirt with flames and skulls&lt;/p&gt;
      &lt;aside&gt;
         &lt;h1&gt;How to wash the t-shirt&lt;/h1&gt;
         &lt;!-- another tangentially-related content --&gt;
      &lt;/aside&gt;
   &lt;/article&gt;
&lt;/body&gt;
================================================================================
 #3   Giorgio                                         2011-10-22 05:33:30 +0000 
--------------------------------------------------------------------------------
&lt;body&gt;
    &lt;h1&gt;excellentSPORTWEAR.org&lt;/h1&gt;
    &lt;nav&gt;
        Tshirts, Tweatsuits, Weight-lifting tools
    &lt;/nav&gt;
    &lt;section&gt;
        &lt;h1&gt;Tshirts&lt;/h1&gt;
        &lt;nav&gt;Red ones, Blue ones, Lime ones&lt;/nav&gt;
        &lt;article entrypoint&gt;
             &lt;h1&gt;Some cool NIKE red Tshirt&lt;/h1&gt;
             &lt;p&gt;description&lt;/p&gt;
             &lt;aside&gt;
                &lt;h1&gt;How to wash it&lt;/h1&gt;
             &lt;/aside&gt;
        &lt;/article&gt;
    &lt;/section&gt;
&lt;/body&gt;
================================================================================
 #4   Tab Atkins Jr.                                  2011-10-24 02:09:31 +0000 
--------------------------------------------------------------------------------
There&apos;s a good chance you don&apos;t need both of those &lt;nav&gt;s. (Rule of thumb: should it appear in a separate menu titled &quot;Main Navigation for the Page&quot;?  If so, make it a &lt;nav&gt;; if not, don&apos;t.)

Otherwise, this is a perfectly fine structure.  There&apos;s no need to indicate the &quot;entrypoint&quot; - the outline is already fine as it is.
================================================================================
 #5   Giorgio                                         2011-10-24 02:44:20 +0000 
--------------------------------------------------------------------------------
&gt; There&apos;s a good chance you don&apos;t need both of those &lt;nav&gt;s. (Rule of thumb:
&gt; should it appear in a separate menu titled &quot;Main Navigation for the Page&quot;?  If
&gt; so, make it a &lt;nav&gt;; if not, don&apos;t.)
&gt; 
&gt; Otherwise, this is a perfectly fine structure.  There&apos;s no need to indicate the
&gt; &quot;entrypoint&quot; - the outline is already fine as it is.

hi, please double check http://www.w3.org/Bugs/Public/show_bug.cgi?id=14540#c2

is fine for us, but with the point of view of an accessibility tool?

the document is called &quot;&lt;h1&gt;bestSPORTWEAR.org&lt;/h1&gt;&quot; but this is the site title, not the page title

this is not so &quot;hyper-textual&quot; seems that a &quot;document&quot; is totally standalone, but it is not, it is placed in a context ( the site, the presentation, the chapter list) and there should be a way to distinguish context from content
================================================================================
 #6   Tab Atkins Jr.                                  2011-10-24 06:28:49 +0000 
--------------------------------------------------------------------------------
Since most sites on the internet have exactly that structure, I expect that screen-readers, bots, and other things that consume markup directly can handle that structure just fine.  If they couldn&apos;t, most of the internet would be inaccessible.
================================================================================
 #7   Ian &apos;Hixie&apos; Hickson                             2011-12-09 23:39:27 +0000 
--------------------------------------------------------------------------------
I should add an example that explicitly covers the case of a one-article page vs a multiple-article page.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80693</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-12-30 02:29:13 +0000</bug_when>
    <thetext>I&apos;ve added some text to the spec that basically says that you are allowed to include the &lt;article&gt; in this case, but don&apos;t have to.

The site-title vs document-title thing is a bit of a red herring in practice. There&apos;s no &quot;site&quot; concept in HTML, it&apos;s always about the document. It&apos;s just that there&apos;s a document title, and then a document subtitle. You can use a single mostly-page-wide &lt;article&gt; for that, or you can use &lt;hgroup&gt;, or &lt;section&gt;, or &lt;h2&gt;, or pretty much any other solution that makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80694</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-12-30 02:29:23 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7608.
Check-in comment: Elaborate on &lt;article&gt; in one-article documents, in case of doubt.
http://html5.org/tools/web-apps-tracker?from=7607&amp;to=7608</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>