[html5] r8191 - [a] (0) More information for authors using images of text. Affected topics: HTML

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 16 14:55:18 PDT 2013


Author: ianh
Date: 2013-09-16 14:55:17 -0700 (Mon, 16 Sep 2013)
New Revision: 8191

Modified:
   complete.html
   index
   source
Log:
[a] (0) More information for authors using images of text.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-09-16 17:54:13 UTC (rev 8190)
+++ complete.html	2013-09-16 21:55:17 UTC (rev 8191)
@@ -23776,8 +23776,42 @@
 
   </div>
 
+  <div class=example>
 
+   <p>An illuminated manuscript might use graphics for some of its images. The alternative text in
+   such a situation is just the character that the image represents.</p>
 
+   <pre><p><img src="initials/o.svg" alt="O">nce upon a time and a long long time ago, late at
+night, when it was dark, over the hills, through the woods, across a great ocean, in a land far
+away, in a small house, on a hill, under a full moon...</pre> <!-- The End. -->
+
+  </div>
+
+  <p>When an image is used to represent a character that cannot otherwise be represented in Unicode,
+  for example gaiji, itaiji, or new characters such as novel currency symbols, the alternative text
+  should be a more conventional way of writing the same thing, e.g. using the phonetic hiragana or
+  katakana to give the character's pronunciation.</p>
+
+  <div class=example>
+
+   <p>In this example from 1997, a new-fangled currency symbol that looks like a curly E with two
+   bars in the middle instead of one is represented using an image. The alternative text gives the
+   character's pronunication.</p>
+
+   <pre><p>Only <img src="euro.png" alt="euro ">5.99!</pre>
+
+  </div>
+
+  <p>An image should not be used if Unicode characters would serve an identical purpose. Only when
+  the text cannot be directly represented using Unicode, e.g. because of decorations or because the
+  character is not in the Unicode character set (as in the case of gaiji), would an image be
+  appropriate.</p>
+
+  <p class=note>If an author is tempted to use an image because their default system font does not
+  support a given character, then Web Fonts are a better solution than images.</p>
+
+
+
   <h6 id=a-graphical-representation-of-some-of-the-surrounding-text><span class=secno>4.8.1.1.6 </span>A graphical representation of some of the surrounding text</h6>
 
   <p>In many cases, the image is actually just supplementary, and its presence merely reinforces the

Modified: index
===================================================================
--- index	2013-09-16 17:54:13 UTC (rev 8190)
+++ index	2013-09-16 21:55:17 UTC (rev 8191)
@@ -23776,8 +23776,42 @@
 
   </div>
 
+  <div class=example>
 
+   <p>An illuminated manuscript might use graphics for some of its images. The alternative text in
+   such a situation is just the character that the image represents.</p>
 
+   <pre><p><img src="initials/o.svg" alt="O">nce upon a time and a long long time ago, late at
+night, when it was dark, over the hills, through the woods, across a great ocean, in a land far
+away, in a small house, on a hill, under a full moon...</pre> <!-- The End. -->
+
+  </div>
+
+  <p>When an image is used to represent a character that cannot otherwise be represented in Unicode,
+  for example gaiji, itaiji, or new characters such as novel currency symbols, the alternative text
+  should be a more conventional way of writing the same thing, e.g. using the phonetic hiragana or
+  katakana to give the character's pronunciation.</p>
+
+  <div class=example>
+
+   <p>In this example from 1997, a new-fangled currency symbol that looks like a curly E with two
+   bars in the middle instead of one is represented using an image. The alternative text gives the
+   character's pronunication.</p>
+
+   <pre><p>Only <img src="euro.png" alt="euro ">5.99!</pre>
+
+  </div>
+
+  <p>An image should not be used if Unicode characters would serve an identical purpose. Only when
+  the text cannot be directly represented using Unicode, e.g. because of decorations or because the
+  character is not in the Unicode character set (as in the case of gaiji), would an image be
+  appropriate.</p>
+
+  <p class=note>If an author is tempted to use an image because their default system font does not
+  support a given character, then Web Fonts are a better solution than images.</p>
+
+
+
   <h6 id=a-graphical-representation-of-some-of-the-surrounding-text><span class=secno>4.8.1.1.6 </span>A graphical representation of some of the surrounding text</h6>
 
   <p>In many cases, the image is actually just supplementary, and its presence merely reinforces the

Modified: source
===================================================================
--- source	2013-09-16 17:54:13 UTC (rev 8190)
+++ source	2013-09-16 21:55:17 UTC (rev 8191)
@@ -24972,8 +24972,42 @@
 
   </div>
 
+  <div class="example">
 
+   <p>An illuminated manuscript might use graphics for some of its images. The alternative text in
+   such a situation is just the character that the image represents.</p>
 
+   <pre><p><img src="initials/o.svg" alt="O">nce upon a time and a long long time ago, late at
+night, when it was dark, over the hills, through the woods, across a great ocean, in a land far
+away, in a small house, on a hill, under a full moon...</pre> <!-- The End. -->
+
+  </div>
+
+  <p>When an image is used to represent a character that cannot otherwise be represented in Unicode,
+  for example gaiji, itaiji, or new characters such as novel currency symbols, the alternative text
+  should be a more conventional way of writing the same thing, e.g. using the phonetic hiragana or
+  katakana to give the character's pronunciation.</p>
+
+  <div class="example">
+
+   <p>In this example from 1997, a new-fangled currency symbol that looks like a curly E with two
+   bars in the middle instead of one is represented using an image. The alternative text gives the
+   character's pronunication.</p>
+
+   <pre><p>Only <img src="euro.png" alt="euro ">5.99!</pre>
+
+  </div>
+
+  <p>An image should not be used if Unicode characters would serve an identical purpose. Only when
+  the text cannot be directly represented using Unicode, e.g. because of decorations or because the
+  character is not in the Unicode character set (as in the case of gaiji), would an image be
+  appropriate.</p>
+
+  <p class="note">If an author is tempted to use an image because their default system font does not
+  support a given character, then Web Fonts are a better solution than images.</p>
+
+
+
   <h6>A graphical representation of some of the surrounding text</h6>
 
   <p>In many cases, the image is actually just supplementary, and its presence merely reinforces the




More information about the Commit-Watchers mailing list