Skip to content

Commit

Permalink
[e] (0) Try to tweak the alt='' text repair requirements to be accept…
Browse files Browse the repository at this point in the history
…able to more HTMLWG members.

git-svn-id: http://svn.whatwg.org/webapps@4649 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 5, 2010
1 parent dfac1ce commit 53498d0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 17 deletions.
19 changes: 13 additions & 6 deletions complete.html
Expand Up @@ -110,7 +110,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 4 February 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 5 February 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -18462,11 +18462,18 @@ <h4 id=the-img-element><span class=secno>4.8.3 </span>The <dfn><code>img</code><

<p>User agents may always provide the user with the option to
display any image, or to prevent any image from being
displayed. User agents may also apply image analysis heuristics to
help the user make sense of the image when the user is unable to
make direct use of the image, e.g. due to a visual disability or
because they are using a text terminal with no graphics
capabilities.</p>
displayed. User agents may also apply other heuristics to help the
user make sense of the image when the user is unable to make direct
use of the image, e.g. due to a visual disability or because they
are using a text terminal with no graphics capabilities. Such
heuristics could include, for instance, optical character
recognition (OCR) of text found within the image.</p>

<p class=warning>While user agents are encouraged to repair cases
of missing <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attributes, authors
must not rely on such behaviour. <a href=#alt>Requirements for
providing text to act as an alternative for images are
described in detail below.</a></p>

<p>The <em>contents</em> of <code><a href=#the-img-element>img</a></code> elements, if any, are
ignored for the purposes of rendering.</p>
Expand Down
19 changes: 13 additions & 6 deletions index
Expand Up @@ -112,7 +112,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 4 February 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 5 February 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -18361,11 +18361,18 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

<p>User agents may always provide the user with the option to
display any image, or to prevent any image from being
displayed. User agents may also apply image analysis heuristics to
help the user make sense of the image when the user is unable to
make direct use of the image, e.g. due to a visual disability or
because they are using a text terminal with no graphics
capabilities.</p>
displayed. User agents may also apply other heuristics to help the
user make sense of the image when the user is unable to make direct
use of the image, e.g. due to a visual disability or because they
are using a text terminal with no graphics capabilities. Such
heuristics could include, for instance, optical character
recognition (OCR) of text found within the image.</p>

<p class=warning>While user agents are encouraged to repair cases
of missing <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attributes, authors
must not rely on such behaviour. <a href=#alt>Requirements for
providing text to act as an alternative for images are
described in detail below.</a></p>

<p>The <em>contents</em> of <code><a href=#the-img-element>img</a></code> elements, if any, are
ignored for the purposes of rendering.</p>
Expand Down
17 changes: 12 additions & 5 deletions source
Expand Up @@ -19653,11 +19653,18 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<p>User agents may always provide the user with the option to
display any image, or to prevent any image from being
displayed. User agents may also apply image analysis heuristics to
help the user make sense of the image when the user is unable to
make direct use of the image, e.g. due to a visual disability or
because they are using a text terminal with no graphics
capabilities.</p>
displayed. User agents may also apply other heuristics to help the
user make sense of the image when the user is unable to make direct
use of the image, e.g. due to a visual disability or because they
are using a text terminal with no graphics capabilities. Such
heuristics could include, for instance, optical character
recognition (OCR) of text found within the image.</p>

<p class="warning">While user agents are encouraged to repair cases
of missing <code title="attr-img-alt">alt</code> attributes, authors
must not rely on such behaviour. <a href="#alt">Requirements for
providing text to act as an alternative for images</span> are
described in detail below.</p>

<p>The <em>contents</em> of <code>img</code> elements, if any, are
ignored for the purposes of rendering.</p>
Expand Down

0 comments on commit 53498d0

Please sign in to comment.