- From: poot <cvsmail@w3.org>
- Date: Tue, 29 Jun 2010 00:09:28 +0900 (JST)
- To: public-html-diffs@w3.org
steve: new sub-section 'Is alt attribute content a replacement for an image?' - unfinished http://dev.w3.org/cvsweb/html5/alt-techniques/Overview.html?r1=1.48&r2=1.49&f=h =================================================================== RCS file: /sources/public/html5/alt-techniques/Overview.html,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- Overview.html 27 Jun 2010 17:37:37 -0000 1.48 +++ Overview.html 28 Jun 2010 15:09:11 -0000 1.49 @@ -109,7 +109,7 @@ </head> <body> <div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">HTML5: Techniques for providing useful text alternatives</h1> -<h2 id="w3c-working-draft-05-may-2010"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft 27 June 2010</h2> +<h2 id="w3c-working-draft-05-may-2010"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft 28 June 2010</h2> <dl><!-- <dt>This version:</dt> <dd><a href="http://www.w3.org/TR/2010/WD-html-alt-techniques-20100624/">http://www.w3.org/TR/2010/WD-html-alt-techniques-20100624/</a></dd><dt>Latest published version:</dt> --> <!-- <dd><A href="http://www.w3.org/TR/html-alt-techniques/">http://www.w3.org/TR/html-alt-techniques/</A> </dd> --><dt>Latest editor's draft:</dt><dd><a href="http://dev.w3.org/html5/alt-techniques/">http://dev.w3.org/html5/alt-techniques/</a></dd> @@ -235,6 +235,19 @@ <li>If the alt attribute content is too long it may cause reading issues in some assistive technologies.</li> <li>Semantic structure cannot be added to alt attribute content.</li> </ul> +<h6 id="replacement">Is alt attribute content a replacement for an image?</h6> +<p>The answer to this question depends on the context an image is being used in:</p> +<ul> + <li>When an image contains too much information to use the alt attribute as a container for a text alternative the alt attribute content can be a label for the image. This label MAY be a brief description that identifies the image. This SHOULD be accompanied by a more complete text alternative that is programmatically associated with the image.</li> + <li>When an image contains structured information that cannot be conveyed using the alt attribute as a container for a text alternative the alt attribute content SHOULD be a label for the image. This label MAY be a brief description that identifies the image. This SHOULD be accompanied by a more complete text alternative that is programmatically associated with the image.</li> + <li>When an image is used to represent text and it is the authors intent the purpose of the using an image of text is to achieve a visual style, the alt attribute content SHOULD be considered as a replacement for the image.</li> + <li>When an image is decorative and it is the authors intent that it not convey any information, an empty alt attribute SHOULD be considered as an indication that the image can be safely ignored.</li> + <li>When It is the authors intent that image is not to be seen by users, an empty alt attribute SHOULD be considered as an indication that the image can be safely ignored.</li> + <li>When an image is immediately proceeded or preceeded by a text alternative and the image and the text alternative are not complex in nature, an empty alt attribute SHOULD be considered as an indication that the image can be safely ignored.</li> + <li>When an image is the sole content of a link, the alt attribute content SHOULD be a brief description of the link target.</li> + <li class="note">To Do</li> +</ul> +<p> </p> <h6 id="empty">Using an empty <code>alt</code> attribute <code>alt=""</code></h6> <p>Circumstances in which <strong>it is</strong> appropriate to use an empty or null <code>alt</code> attribute:</p> <ul> @@ -254,6 +267,8 @@ <h6 id="he">How long should a short text alternative be?</h6> <p>The answer to this question very much depends on the context an image is being used in. While there are no definitive right or wrong lengths for text alternatives provided using the <code>img</code> elements <code>alt</code> attribute, the general consensus is that if the text alternative is longer than 75-100 characters (1 to 2 sentences), it should not be considered a short text alternative and should not be presented using the <code>alt </code>attribute.</p> <p><span class="note">To do</span></p> +<h6> </h6> +<p> </p> <h3 id="hf">The <code>figure</code> and <code>figcaption</code> elements</h3> <p><span class="note">to do</span></p> <h5 id="hg">Advantages:</h5>
Received on Monday, 28 June 2010 15:09:57 UTC