W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1165,1.1166

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 04 Aug 2008 08:15:41 +0000
To: public-html-commits@w3.org
Message-Id: <E1KPvED-0006sW-GV@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26411

Modified Files:
	Overview.html 
Log Message:
Add a CAPTCHA example to the <img> section. (whatwg r1974)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1165
retrieving revision 1.1166
diff -u -d -r1.1165 -r1.1166
--- Overview.html	4 Aug 2008 08:03:05 -0000	1.1165
+++ Overview.html	4 Aug 2008 08:15:38 -0000	1.1166
@@ -16385,6 +16385,19 @@
     had only read or heard the caption once.</p>
   </div>
 
+  <div class=example>
+   <p>Sometimes the entire point of the image is that a textual description
+    is not available, and the user is to provide the description. For
+    instance, the point of a CAPTCHA image is to see if the user can
+    literally read the graphic. Here is one way to mark up a CAPTCHA:</p>
+
+   <pre>&lt;p>What does this image say?
+<strong>&lt;img src="captcha.cgi?id=8934" alt="{captcha}"></strong>
+&lt;input type=text name=captcha>
+(If you cannot see the image, you can use an &lt;a
+href="?audio">audio&lt; test instead.)&lt;/p></pre>
+  </div>
+
   <p class=note>Since some users cannot use images at all (e.g. because they
    have a very slow connection, or because they are using a text-only
    browser, or because they are listening to the page being read out by a
Received on Monday, 4 August 2008 08:16:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT