- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 23 Jul 2010 23:16:47 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30803
Modified Files:
content-models.html spec.html
Log Message:
Add example of using ARIA with <figure>. (whatwg r5196)
[updated by splitter]
Index: content-models.html
===================================================================
RCS file: /sources/public/html5/spec/content-models.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- content-models.html 2 Jul 2010 23:06:44 -0000 1.6
+++ content-models.html 23 Jul 2010 23:16:44 -0000 1.7
@@ -1171,4 +1171,34 @@
<code title="attr-aria-role-button">button</code> role cannot be
used with <code><a href="text-level-semantics.html#the-a-element">a</a></code> elements".</p>
+ </div><div class="example">
+
+ <p>These features can be used to make accessibility tools render
+ content to their users in more useful ways. For example, ASCII art,
+ which is really an image, appears to be text, and in the absence of
+ appropriate annotations would end up being rendered by screen
+ readers as a very painful reading of lots of punctuation. Using the
+ features described in this section, one can instead make the ATs
+ skip the ASCII art and just read the caption:</p>
+
+ <pre><figure <strong>role="img" aria-labeledby="fish-caption"</strong>>
+ <pre>
+ o .'`/
+ ' / (
+ O .-'` ` `'-._ .')
+ _/ (o) '. .' /
+ ) ))) >< <
+ `\ |_\ _.' '. \
+ '-._ _ .-' '.)
+ jgs `\__\
+ </pre>
+ <figcaption <strong>id="fish-caption"</strong>>
+ Joan G. Stark, "<cite>fish</cite>".
+ October 1997. ASCII on electrons. 28×8.
+ </figcaption>
+</figure>
+ </pre>
+
+ <!-- source: http://www.geocities.com/SoHo/7373/aquatic.htm#fish -->
+
</div></body></html>
\ No newline at end of file
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1071
retrieving revision 1.1072
diff -u -d -r1.1071 -r1.1072
--- spec.html 23 Jul 2010 20:56:53 -0000 1.1071
+++ spec.html 23 Jul 2010 23:16:44 -0000 1.1072
@@ -333,7 +333,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">author edition</a>.
-This is revision 1.4132.
+This is revision 1.4133.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 23 July 2010 23:16:48 UTC