Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated main element definetion

modified defintion to include "children", Added clarification on what to
use to mark up main content of sub sections
  • Loading branch information...
commit b177639c9f45285f727c8dc42876097edd3e0d5c 1 parent edb6c0b
@stevefaulkner authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 source
View
12 source
@@ -21442,14 +21442,14 @@ included with Exhibit B.
</dd>
</dl><!--TOPIC:HTML-->
- <p>The <code>main</code> element <span>represents</span> the <dfn>main content section</dfn> of the <code>body</code>
- of a document or application. The main content section consists of content that is directly related to or expands upon
+ <p>The <code>main</code> element and its children <span>represent</span> the <dfn>main content</dfn> of the <code>body</code>
@stevefaulkner Owner

need to update this to

The main element represents the main content of the body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ of a document or application. The main content area consists of content that is directly related to or expands upon
the central topic of a document or central functionality of an application.</p>
<p class="note">The <code>main</code> element is not <span>sectioning content</span> and has no effect
on the document <span>outline</span></p>
- <p>The main content section of a document includes content that is unique to that document and
- excludes content that is repeated across a set of documents such as site navigation links,
+ <p>The main content area of a document includes content that is unique to that document and
+ excludes content that is repeated across a set of documents such as site navigation links,
copyright information, site logos and banners and search forms (unless the document or
applications main function is that of a search form).</p>
@@ -21461,6 +21461,9 @@ included with Exhibit B.
<p>Authors must not include more than one <code>main</code> element in a document. </p>
<p>Authors must not include the <code>main</code> element as a child of an <code>article</code>,
<code>aside</code>, <code>footer</code>, <code>header</code> or <code>nav</code> element.</p>
+ <p>The <code>main</code> element is not suitable for use to identify the main content areas of sub sections of a
+ document or application. The simplest solution is to not mark up the main content of a sub section at all, and just leave it
+ as implicit, but an author may use a <span>grouping content</span> or <span>sectioning content</span> element as appropriate.
<p class="note">Authors are advised to use ARIA <code>role="main"</code> attribute on the
<code>main</code> element until user agents implement the required role mapping.</p>
@@ -21571,6 +21574,7 @@ included with Exhibit B.
&lt;/html&gt;</pre>
</div>
+
<!-- end of main element definition -->
<h3>Text-level semantics</h3>
Please sign in to comment.
Something went wrong with that request. Please try again.