W3C home > Mailing lists > Public > www-i18n-comments@w3.org > September 2003

Ruby rec: weird alt attribute on fig 3.6

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: 23 Sep 2003 16:45:48 +0200
To: www-i18n-comments@w3.org
Message-Id: <1064328349.2481.45.camel@stratustier>
Hello,

The Ruby recommendation [1] has a weird alt attribute for the image used
as Figure 3.6:
http://www.w3.org/TR/2001/REC-ruby-20010531/#fig3.6 reads:
"In the middle, four Japanese ideographs from left to right. On top of
that, <span lang='ja'>hiragana</span> letters in smaller size (two <span
lang='ja'>hiragana</span> for each of the three first ideographs, one
<span lang='ja'>hiragana</span> for the latest ideograph). At the
bottom, the text 'W3C Associate Chairman'."
Note that it uses <span lang='ja'> inside the attribute, which doesn't
bring any value to the alt attribute, given that its content is
supposingly CDATA per HTML4.01 Rec (meaning that the browsers aren't
supposed to interpret the content as markup).

I only noticed it because those 3 <span class='ja'> are not groked
correctly by tidy on-line [2], which is not a big deal, but could be
helped if this document were to be republished.

Dom

1. http://www.w3.org/TR/2001/REC-ruby-20010531/
2. http://cgi.w3.org/cgi-bin/tidy?docAddr=
-- 
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org

Received on Tuesday, 23 September 2003 10:45:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:32:33 GMT