- From: CVS User rberjon <cvsmail@w3.org>
- Date: Mon, 19 Nov 2012 11:18:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/alt-techniques In directory roscoe:/tmp/cvs-serv4792 Modified Files: Overview.html Log Message: editorial tweaks --- /sources/public/html5/alt-techniques/Overview.html 2012/10/05 09:11:23 1.111 +++ /sources/public/html5/alt-techniques/Overview.html 2012/11/19 11:18:20 1.112 @@ -1357,7 +1357,7 @@ <p>In other cases the icon adds emphasis to text content that needs to be conveyed textually, In such cases a text alternative <em title="must" class="rfc2119">must</em> be provided.</p> <h4 id="hba">Example 8.1</h4> <div class="example"> - <p>In this example, we have a link pointing to a site's home page, the link contains a house icon image and the text "home". The image has an empty <code>alt</code> text. Where images are used in this way, it would also appropriate to add the image using CSS. </p> + <p>In this example, we have a link pointing to a site's home page, the link contains a house icon image and the text "home". The image has an empty <code>alt</code> text. Where images are used in this way, it would also be appropriate to add the image using CSS. </p> <p><strong>Example Image in context: </strong></p> <div class="element1"> <p><img src="images/home.gif" alt="A house icon next to the word 'home'." width="66" height="29"></p> @@ -1408,7 +1408,7 @@ <div class="section" id="sec9"> <h3 id="pictures"><span class="secno">3.9 </span>Images of Pictures</h3> <p>Images of pictures or graphics include visual representations of objects, people, scenes, abstractions, etc. This <a href="http://www.w3.org/TR/WCAG20/#non-text-contentdef">non-text content</a> can convey a significant amount of information visually or provide a <a href="http://www.w3.org/TR/WCAG20/#sensoryexpdef">specific sensory experience</a> to a sighted person. Examples include photographs, paintings, drawings and artwork.</p> - <p>An appropriate text alternative for a picture is a brief description, or <a href="http://www.w3.org/TR/WCAG20/#namedef">name</a>. As in all text alternative authoring decisions, writing suitable text alternatives for pictures requires human judgment. The text value is subjective to the context where the image is used and the page author's writing style. Therefore, there is no single 'right' or 'correct' piece of <code>alt</code> text for any particular image. In addition to providing a short <a href="http://www.w3.org/TR/WCAG20/#text-altdef">text alternative</a> that gives a brief description of the <a href="http://www.w3.org/TR/WCAG20/#non-text-contentdef">non-text content</a>, also providing <a href="http://www.w3.org/TR/WCAG20/#suppcontentdef">supplemental content</a> through another means when appropriate may be useful.</p> + <p>An appropriate text alternative for a picture is a brief description, or <a href="http://www.w3.org/TR/WCAG20/#namedef">name</a>. As in all text alternative authoring decisions, writing suitable text alternatives for pictures requires human judgement. The text value is subjective to the context where the image is used and the page author's writing style. Therefore, there is no single 'right' or 'correct' piece of <code>alt</code> text for any particular image. In addition to providing a short <a href="http://www.w3.org/TR/WCAG20/#text-altdef">text alternative</a> that gives a brief description of the <a href="http://www.w3.org/TR/WCAG20/#non-text-contentdef">non-text content</a>, also providing <a href="http://www.w3.org/TR/WCAG20/#suppcontentdef">supplemental content</a> through another means when appropriate may be useful.</p> <h4 id="hbe">Example 9.1</h4> <p>This example shows an image uploaded to a photo-sharing site. The photo is of a cat, sitting in the bath. The image has a text alternative provided using the <code>img</code> element's <code>alt</code> attribute. It also has an caption provided by including the <code>img</code> element in a <code>figure</code> element and using a <code>figcaption</code> element to identify the caption text. The text alternative in Example code 2 includes information "photo" about the type of image. Although this is not generally recommended, authors <em title="may" class="rfc2119">may</em> include such information in the <code>alt</code> attribute content.</p> <div class="example"> @@ -1751,11 +1751,11 @@ <h4 id="replacement"><span class="secno">4.1.1 </span>Is <code>alt</code> attribute content a replacement for an image?</h4> <p>The answer to this question depends on the content of the image and the context the image is being used in:</p> <ul> - <li>When an image contains too much information to use the <code>alt</code> attribute as a container for a text alternative the <code>alt</code> attribute content can be a label for the image. This label <em title="may" class="rfc2119">may</em> be a brief description that identifies the image. This <em title="should" class="rfc2119">should</em> be accompanied by a more complete text alternative that is programmatically associated with the image. Refer to <a href="#haee">Example 2.3</a>.</li> - <li>When an image contains structured information that cannot be conveyed using the <code>alt</code> attribute as a container for a text alternative the <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be a label for the image. This label <em title="may" class="rfc2119">may</em> be a brief description that identifies the image. This <em title="should" class="rfc2119">should</em> be accompanied by a structured text alternative that is programmatically associated with the image. Refer to <a href="#hag21">Example 2.5</a>.</li> - <li>When an image is used to represent text and it is the authors intent that the purpose of the using an image of text is to achieve a visual style, the <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be considered as a replacement for the image. Refer to <a href="#img-of-text">Section 3</a>.</li> - <li>When an image is decorative and it is the authors intent that it not convey any information, an empty <code>alt</code> attribute <em title="should" class="rfc2119">should</em> be considered as an indication that the image can be safely ignored. Refer to <a href="#decorative">Section 5</a>.</li> - <li>When it is the authors intent that image is not to be seen by users, an empty <code>alt</code> attribute <em title="should" class="rfc2119">should</em> be considered as an indication that the image can be safely ignored. Refer to <a href="#img-not-for-user">Section 7</a>.</li> + <li>When an image contains too much information to use the <code>alt</code> attribute as a container for a text alternative, the <code>alt</code> attribute content can be a label for the image. This label <em title="may" class="rfc2119">may</em> be a brief description that identifies the image. This <em title="should" class="rfc2119">should</em> be accompanied by a more complete text alternative that is programmatically associated with the image. Refer to <a href="#haee">Example 2.3</a>.</li> + <li>When an image contains structured information that cannot be conveyed using the <code>alt</code> attribute as a container for a text alternative, the <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be a label for the image. This label <em title="may" class="rfc2119">may</em> be a brief description that identifies the image. This <em title="should" class="rfc2119">should</em> be accompanied by a structured text alternative that is programmatically associated with the image. Refer to <a href="#hag21">Example 2.5</a>.</li> + <li>When an image is used to represent text and it is the author's intent that the purpose of the using an image of text is to achieve a visual style, the <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be considered as a replacement for the image. Refer to <a href="#img-of-text">Section 3.3</a>.</li> + <li>When an image is decorative and it is the author's intent that it not convey any information, an empty <code>alt</code> attribute <em title="should" class="rfc2119">should</em> be considered as an indication that the image can be safely ignored. Refer to <a href="#decorative">Section 3.5</a>.</li> + <li>When it is the author's intent that image is not to be seen by users, an empty <code>alt</code> attribute <em title="should" class="rfc2119">should</em> be considered as an indication that the image can be safely ignored. Refer to <a href="#img-not-for-user">Section 3.7</a>.</li> <li>When an image is immediately proceeded or preceded by a text alternative and the image and the text alternative are not complex in nature, an empty <code>alt</code> attribute <em title="should" class="rfc2119">should</em> 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 <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be a brief description of the link target. Refer to <a href="#hba">Example 1.1</a>.</li> <li>When an image is the content of a link and is immediately proceeded or preceded by a brief description of the link target, the <code>alt</code> attribute content <em title="should" class="rfc2119">should</em> be empty. Refer to <a href="#hba">Example 8.1</a>.</li>
Received on Monday, 19 November 2012 11:18:28 UTC