- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Jun 2009 01:01:58 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv484 Modified Files: Overview.html Log Message: Include a note about the dangers of ASCII art. (whatwg r3271) Index: Overview.html =================================================================== 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:06 UTC