W3C home > Mailing lists > Public > public-i18n-cjk@w3.org > January to March 2013

Re: Ruby extension: empty ruby text

From: Richard Ishida <ishida@w3.org>
Date: Wed, 27 Feb 2013 14:54:19 +0000
Message-ID: <512E1E1B.2050309@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>
CC: Robin Berjon <robin@berjon.com>, 'WWW International' <www-international@w3.org>, CJK discussion <public-i18n-cjk@w3.org>, Ishii Koji <kojiishi@gluesoft.co.jp>
On 25/02/2013 23:31, fantasai wrote:
> One thing I had suggested was to do the somewhat
> confusing thing and make the <ruby> start tag
> optional. This shortens markup slightly to
>
>    <rb>B<rb>B<rt>a<rt>a</ruby>
>
> instead of (for the same DOM):
>
>    <ruby><rb>B<rb>B<rt>a<rt>a</ruby>

However, if you do that as a matter of course, and then someone comes 
along and wants to style the whole page so that, say, all base text is 
hidden for accessibility reasons, then they wont be able to style the 
initial base text in each ruby element.  I think it's better to 
recommend that each item in a ruby element start with either <rb>, <rt> 
or <rtc>.

RI


-- 
Richard Ishida
W3C
http://rishida.net/
Received on Wednesday, 27 February 2013 14:54:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 February 2013 14:54:47 GMT