- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Jun 2009 10:02:12 +0900 (JST)
- To: public-html-diffs@w3.org
Include a note about the dangers of ASCII art. (whatwg r3271) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2418&r2=1.2419&f=h http://html5.org/tools/web-apps-tracker?from=3270&to=3271 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2418 retrieving revision 1.2419 diff -u -d -r1.2418 -r1.2419 --- Overview.html 16 Jun 2009 01:00:25 -0000 1.2418 +++ Overview.html 16 Jun 2009 01:01:55 -0000 1.2419 @@ -11187,9 +11187,14 @@ <li>Including fragments of computer code, with structure indicated according to the conventions of that language.</li> - <li>Displaying ASCII art.</li> <!-- XXX need a note about non-visual UAs --> + <li>Displaying ASCII art.</li> - </ul><p>To represent a block of computer code, the <code><a href="#the-pre-element">pre</a></code> + </ul><p class="note">Authors are encouraged to consider how preformatted + text will be experienced when the formatting is lost, as will be the + case for users of speech synthesizers, braille displays, and the + like. For cases like ASCII art, it is likely that an alternative + presentation, such as a textual description, would be more + universally accessible to the readers of the document.<p>To represent a block of computer code, the <code><a href="#the-pre-element">pre</a></code> element can be used with a <code><a href="#the-code-element">code</a></code> element; to represent a block of computer output the <code><a href="#the-pre-element">pre</a></code> element can be used with a <code><a href="#the-samp-element">samp</a></code> element. Similarly, the <code><a href="#the-kbd-element">kbd</a></code>
Received on Tuesday, 16 June 2009 01:02:45 UTC