W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] rp is a styling tag and has no semantic function

From: Futomi Hatano <info@html5.jp>
Date: Thu, 29 Oct 2009 11:25:56 +0900
Message-ID: <20091029104619.E213.C8DE7135@html5.jp>

On Wed, 28 Oct 2009 17:27:21 +0100 Nikita Popov <privat at ni-po.com> wrote:

> In the spec the use of the rp-tag is shown like this:
> 
> <ruby>
>  ? <rp>(</rp><rt>??</rt><rp>)</rp>
>  ? <rp>(</rp><rt>?</rt><rp>)</rp>
> </ruby>
> 
> What semantic function has the rp-tag? No. It is only styling for 
> browsers not supporting ruby-text.

I don't think that the rp element is only for styling.
It has important semantics which represents *parentheses* for ruby anotations.
I know that the element is for legacy browsers.
But, if we would like to use ruby annotations, we have to use parentheses to separate the main text and the ruby annotations  for legacy browsers.

> So I think this element musn't be in the HTML5 spec. You can add the 
> brackets before and after the ruby text using CSS pseudoclasses (:after, 
> :before).

I think this element is necessary in the HTML5 spec.
If ATs(e.g. screen reader)  know the rp element, it can remove the content of the rp element.
So, we can get only true annotations from ATs, without parentheses.
I don't want hear parentheses from a screen reader.

I hope that all browsers (including ATs) support the ruby element.
If so, I think the rp element is not necessary.

Thank you.

--
Futomi Hatano
www.html5.jp
Received on Wednesday, 28 October 2009 19:25:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC