E-mail List Archives
Thread: Voiceover ignore lang attribute
Number of posts in this thread: 3 (In chronological order)
From: Lory Bineau
Date: Fri, Jun 14 2019 4:22PM
Subject: Voiceover ignore lang attribute
No previous message | Next message →
Hello,
If I set the lang attribute on an <a> tag Voice over pronounce it in the targeted language.
But the same thing does not work on <button> or <input type="submit">
You can reproduce the bug with this link: https://codepen.io/lbineau/pen/OYqBeY
I don't know if it happens on other screen readers.
Has anyone encounter this issue before? How to fix it?
Best regards
--
Lory Bineau
Senior Consultant
t + 41 58 307 67 25
= EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
blue-inï¬nity.com<http://www.blue-infinity.com/>
facebook<https://www.facebook.com/blueinfinityOfficialPage/> | linkedIn<https://www.linkedin.com/company/blue-infinity> | twitter<https://twitter.com/_blue_infinity> | youtube<https://www.youtube.com/c/infinitvblueinfinity/>
blue-infinity Linked by Isobar is part of Dentsu Aegis Network, with over 35,000 experts in 145 countries.
The blue-inï¬nity building | 35 route des Jeunes | 1227 Geneva | Switzerland
t +41 58 307 7000 | international t +800 307 70 000
-------
The information in this e-mail, and those ensuing, is confidential and may be legally privileged. It is intended solely for the addressee.
If you are not the intended recipient, please destroy this message and notify us immediately.
From: Isabel Holdsworth
Date: Tue, Jun 18 2019 4:13AM
Subject: Re: Voiceover ignore lang attribute
← Previous message | Next message →
Hi Lory,
JAWS speaks buttons and links in the language that's specified in
their LANG attribute if they have one.
Have you tried wrapping the button's text inside a <span> with a LANG attribute?
<button><span lang="fr">Bonjieur</span></button>
I don't like using hacks like this, but sometimes they're the only
thing that works.
It would be great if you could report this bug to Apple.
Cheers, Isabel
On 14/06/2019, Lory Bineau < = EMAIL ADDRESS REMOVED = > wrote:
> Hello,
>
> If I set the lang attribute on an <a> tag Voice over pronounce it in the
> targeted language.
> But the same thing does not work on <button> or <input type="submit">
> You can reproduce the bug with this link:
> https://codepen.io/lbineau/pen/OYqBeY
> I don't know if it happens on other screen readers.
>
> Has anyone encounter this issue before? How to fix it?
>
> Best regards
> --
> Lory Bineau
> Senior Consultant
> t + 41 58 307 67 25
> = EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
>
> blue-inï¬nity.com<http://www.blue-infinity.com/>
> facebook<https://www.facebook.com/blueinfinityOfficialPage/> |
> linkedIn<https://www.linkedin.com/company/blue-infinity> |
> twitter<https://twitter.com/_blue_infinity> |
> youtube<https://www.youtube.com/c/infinitvblueinfinity/>
>
> blue-infinity Linked by Isobar is part of Dentsu Aegis Network, with over
> 35,000 experts in 145 countries.
>
> The blue-inï¬nity building | 35 route des Jeunes | 1227 Geneva |
> Switzerland
> t +41 58 307 7000 | international t +800 307 70 000
>
>
> -------
> The information in this e-mail, and those ensuing, is confidential and may
> be legally privileged. It is intended solely for the addressee.
> If you are not the intended recipient, please destroy this message and
> notify us immediately.
> > > > >
From: Lory Bineau
Date: Thu, Jun 20 2019 2:20AM
Subject: Re: Voiceover ignore lang attribute
← Previous message | No next message
SGkgSXNhYmVsLA0KICAgIA0KVGhhbmtzIGZvciB0ZXN0aW5nIGl0IG9uIEpBV1MuDQpJIGFscmVh
ZHkgdHJpZWQgd2l0aCB0aGUgc3BhbiB0cmljayBidXQgaXQgZG9lcyBub3QgY2hhbmdlIHRoZSBs
YW5ndWFnZSBvZiBWb2ljZU92ZXIuDQogICAgDQpJJ3ZlIHJlcG9ydGVkIHRoZSBidWcgdG8gQXBw
bGUgKHNlZSBzY3JlZW5zaG90IGF0dGFjaGVkKSwgbGV0J3Mgd2FpdCBhbmQgc2VlIHdoYXQgdGhl
eSByZXBseS4NCiAgICANCkNoZWVycy4NCg0KLS0gDQpMb3J5IEJpbmVhdQ0KDQpTZW5pb3IgQ29u
c3VsdGFudA0KdCArIDQxIDU4DQozMDcgNjcgMjUNCg0K77u/T24gMTgvMDYvMjAxOSAxMjoxMywg
IklzYWJlbCBIb2xkc3dvcnRoIiA8bHlubi5ob2xkc3dvcnRoQGdtYWlsLmNvbT4gd3JvdGU6DQoN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