[html5] r5026 - [acgiow] (0) Remove the rule that says you can use the heading of a secton as th [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 13 01:34:20 PDT 2010


Author: ianh
Date: 2010-04-13 01:34:19 -0700 (Tue, 13 Apr 2010)
New Revision: 5026

Modified:
   complete.html
   index
   source
Log:
[acgiow] (0) Remove the rule that says you can use the heading of a secton as the caption of an image that otherwise lacks alternative text.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9217

Modified: complete.html
===================================================================
--- complete.html	2010-04-13 08:31:49 UTC (rev 5025)
+++ complete.html	2010-04-13 08:34:19 UTC (rev 5026)
@@ -20739,12 +20739,6 @@
      contains content other than <a href=#inter-element-whitespace>inter-element
      whitespace</a>.</li>
 
-     <li>The <code><a href=#the-img-element>img</a></code> element is part of the only
-     <a href=#paragraph>paragraph</a> directly in its <a href=#concept-section title=concept-section>section</a>, and is the only
-     <code><a href=#the-img-element>img</a></code> element without an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute in its section, and its
-     <a href=#concept-section title=concept-section>section</a> has an associated
-     heading.</li>
-
     </ul><p class=note>Such cases are to be kept to an absolute
     minimum. If there is even the slightest possibility of the author
     having the ability to provide real alternative text, then it would
@@ -20754,24 +20748,18 @@
     <div class=example>
 
      <p>A photo on a photo-sharing site, if the site received the
-     image with no metadata other than the caption:</p>
+     image with no metadata other than the caption, could be marked up
+     as follows:</p>
 
      <pre><figure>
  <strong><img src="1100670787_6a7c664aef.jpg"></strong>
  <figcaption>Bubbles traveled everywhere with us.</figcaption>
 </figure></pre>
 
-     <p>It could also be marked up like this:</p>
+     <p>It would be better, however, if a detailed description of the
+     important parts of the image obtained from the user and included
+     on the page.</p>
 
-     <pre><article>
- <h1>Bubbles traveled everywhere with us.</h1>
- <strong><img src="1100670787_6a7c664aef.jpg"></strong>
-</article></pre>
-
-     <p>In either case, though, it would be better if a detailed
-     description of the important parts of the image obtained from the
-     user and included on the page.</p>
-
     </div>
 
     <div class=example>
@@ -20970,14 +20958,8 @@
    contains content other than <a href=#inter-element-whitespace>inter-element whitespace</a>
    (as <a href=#unknown-images>described above</a>).</li>
 
-   <li>The <code><a href=#the-img-element>img</a></code> element is part of the only
-   <a href=#paragraph>paragraph</a> directly in its <a href=#concept-section title=concept-section>section</a>, and is the only
-   <code><a href=#the-img-element>img</a></code> element without an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute in its section, and its
-   <a href=#concept-section title=concept-section>section</a> has an associated
-   heading (as <a href=#unknown-images>described above</a>).</li>
-
    <!-- the following are additional entries not included in the
-   aforementioned list, as they apply only to  -->
+   aforementioned list, as they apply only to conformance checkers -->
 
    <li>The conformance checker has been configured to assume that the
    document is an e-mail or document intended for a specific person

Modified: index
===================================================================
--- index	2010-04-13 08:31:49 UTC (rev 5025)
+++ index	2010-04-13 08:34:19 UTC (rev 5026)
@@ -20637,12 +20637,6 @@
      contains content other than <a href=#inter-element-whitespace>inter-element
      whitespace</a>.</li>
 
-     <li>The <code><a href=#the-img-element>img</a></code> element is part of the only
-     <a href=#paragraph>paragraph</a> directly in its <a href=#concept-section title=concept-section>section</a>, and is the only
-     <code><a href=#the-img-element>img</a></code> element without an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute in its section, and its
-     <a href=#concept-section title=concept-section>section</a> has an associated
-     heading.</li>
-
     </ul><p class=note>Such cases are to be kept to an absolute
     minimum. If there is even the slightest possibility of the author
     having the ability to provide real alternative text, then it would
@@ -20652,24 +20646,18 @@
     <div class=example>
 
      <p>A photo on a photo-sharing site, if the site received the
-     image with no metadata other than the caption:</p>
+     image with no metadata other than the caption, could be marked up
+     as follows:</p>
 
      <pre><figure>
  <strong><img src="1100670787_6a7c664aef.jpg"></strong>
  <figcaption>Bubbles traveled everywhere with us.</figcaption>
 </figure></pre>
 
-     <p>It could also be marked up like this:</p>
+     <p>It would be better, however, if a detailed description of the
+     important parts of the image obtained from the user and included
+     on the page.</p>
 
-     <pre><article>
- <h1>Bubbles traveled everywhere with us.</h1>
- <strong><img src="1100670787_6a7c664aef.jpg"></strong>
-</article></pre>
-
-     <p>In either case, though, it would be better if a detailed
-     description of the important parts of the image obtained from the
-     user and included on the page.</p>
-
     </div>
 
     <div class=example>
@@ -20868,14 +20856,8 @@
    contains content other than <a href=#inter-element-whitespace>inter-element whitespace</a>
    (as <a href=#unknown-images>described above</a>).</li>
 
-   <li>The <code><a href=#the-img-element>img</a></code> element is part of the only
-   <a href=#paragraph>paragraph</a> directly in its <a href=#concept-section title=concept-section>section</a>, and is the only
-   <code><a href=#the-img-element>img</a></code> element without an <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute in its section, and its
-   <a href=#concept-section title=concept-section>section</a> has an associated
-   heading (as <a href=#unknown-images>described above</a>).</li>
-
    <!-- the following are additional entries not included in the
-   aforementioned list, as they apply only to  -->
+   aforementioned list, as they apply only to conformance checkers -->
 
    <li>The conformance checker has been configured to assume that the
    document is an e-mail or document intended for a specific person

Modified: source
===================================================================
--- source	2010-04-13 08:31:49 UTC (rev 5025)
+++ source	2010-04-13 08:34:19 UTC (rev 5026)
@@ -22032,14 +22032,6 @@
      contains content other than <span>inter-element
      whitespace</span>.</li>
 
-     <li>The <code>img</code> element is part of the only
-     <span>paragraph</span> directly in its <span
-     title="concept-section">section</span>, and is the only
-     <code>img</code> element without an <code
-     title="attr-img-alt">alt</code> attribute in its section, and its
-     <span title="concept-section">section</span> has an associated
-     heading.</li>
-
     </ul>
 
     <p class="note">Such cases are to be kept to an absolute
@@ -22051,24 +22043,18 @@
     <div class="example">
 
      <p>A photo on a photo-sharing site, if the site received the
-     image with no metadata other than the caption:</p>
+     image with no metadata other than the caption, could be marked up
+     as follows:</p>
 
      <pre><figure>
  <strong><img src="1100670787_6a7c664aef.jpg"></strong>
  <figcaption>Bubbles traveled everywhere with us.</figcaption>
 </figure></pre>
 
-     <p>It could also be marked up like this:</p>
+     <p>It would be better, however, if a detailed description of the
+     important parts of the image obtained from the user and included
+     on the page.</p>
 
-     <pre><article>
- <h1>Bubbles traveled everywhere with us.</h1>
- <strong><img src="1100670787_6a7c664aef.jpg"></strong>
-</article></pre>
-
-     <p>In either case, though, it would be better if a detailed
-     description of the important parts of the image obtained from the
-     user and included on the page.</p>
-
     </div>
 
     <div class="example">
@@ -22282,16 +22268,8 @@
    contains content other than <span>inter-element whitespace</span>
    (as <a href="#unknown-images">described above</a>).</li>
 
-   <li>The <code>img</code> element is part of the only
-   <span>paragraph</span> directly in its <span
-   title="concept-section">section</span>, and is the only
-   <code>img</code> element without an <code
-   title="attr-img-alt">alt</code> attribute in its section, and its
-   <span title="concept-section">section</span> has an associated
-   heading (as <a href="#unknown-images">described above</a>).</li>
-
    <!-- the following are additional entries not included in the
-   aforementioned list, as they apply only to  -->
+   aforementioned list, as they apply only to conformance checkers -->
 
    <li>The conformance checker has been configured to assume that the
    document is an e-mail or document intended for a specific person




More information about the Commit-Watchers mailing list