Re: [whatwg] Proposal: Inline pronounce element (Tab Atkins Jr.)

On Thu, Jun 5, 2014 at 11:29 AM, Nils Dagsson Moskopp
<nils@dieweltistgarnichtso.net> wrote:
> Brett Zamir <brettz9@yahoo.com> writes:
>
>> On 6/5/2014 3:05 AM, whatwg-request@lists.whatwg.org wrote:
>>>
>>> On Tue, Jun 3, 2014 at 3:26 AM, Daniel Morris
>>> <daniel+whatwg@honestempire.com> wrote:
>>>> Hello,
>>>>
>>>> With existing assistive technology such as screen readers, and more
>>>> recently the pervasiveness of new technologies such as Siri and Google
>>>> Now to name two examples, I have been thinking about the
>>>> appropriateness and potential of having a way to represent the
>>>> pronunciation of words on a web page.
>>>>
>>>> There is currently no other text-level semantic that I know of for
>>>> pronunciation, but we have elements for abbreviation and definition.
>>>>
>>>> As an initial suggestion:
>>>>
>>>> <pronounce ipa=??a?p?d?>iPad</pronounce>
>>>>
>>>> (Where the `ipa` attribute is the pronunciation using the
>>>> International Phonetic Alphabet.)
>>>>
>>>> What are your thoughts on this, or does something already exist that I
>>>> am not aware of?
>>> This is already theoretically addressed by <link rel=pronunciation>,
>>> linking to a well-defined pronunciation file format.  Nobody
>>> implements that, but nobody implements anything new either, of course.
>>
>> I think it'd be a lot easier for sites, say along the lines of
>> Wikipedia, to support inline markup to allow users to get a word
>> referenced at the beginning of an article, for example, pronounced
>> accurately.
>
> Is there any reason one cannot use the <ruby> element for pronunciation?
>
> Example:
>
> <ruby>Elfriede Jelinek<rp> (</rp><rt>ɛlˈfʀiːdə ˈjɛlinɛk</rt><rp>) </rp></ruby>

That's adequate for visually providing the pronunciation, but I think
the original request was for a way to tell screen readers and similar
tools how to pronounce an unfamiliar word.

~TJ

Received on Thursday, 5 June 2014 13:09:28 UTC