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>

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.


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/

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:39:59 UTC